X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fclient.c;h=755e9ad568dfccce9db8b1f75ec83f18b9c13e9a;hp=adbbc13b9d849f5ceb0baf05f5f1b2f256d1e9c0;hb=34178097d559ef522ea0984091489c209f4e9e0e;hpb=262591ec1adc1badfcb36e9e6876dd81f2df9492 diff --git a/openbox/client.c b/openbox/client.c index adbbc13..755e9ad 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2043,7 +2043,7 @@ void client_update_strut(ObClient *self) if (!got && OBT_PROP_GETA32(self->window, NET_WM_STRUT, CARDINAL, &data, &num)) { if (num == 4) { - Rect const *a; + const Rect *a; got = TRUE; @@ -2468,10 +2468,10 @@ gboolean client_has_parent(ObClient *self) return self->parents != NULL; } -gboolean client_is_oldfullscreen(const ObClient const *self, - const Rect const *area) +gboolean client_is_oldfullscreen(const ObClient *self, + const Rect *area) { - Rect const *monitor, *allmonitors; + const Rect *monitor, *allmonitors; /* No decorations and fills the monitor = oldskool fullscreen. But not for maximized windows. @@ -2489,7 +2489,7 @@ gboolean client_is_oldfullscreen(const ObClient const *self, static ObStackingLayer calc_layer(ObClient *self) { ObStackingLayer l; - Rect const *monitor, *allmonitors; + const Rect *monitor, *allmonitors; monitor = screen_physical_area_monitor(client_monitor(self)); allmonitors = screen_physical_area_all_monitors(); @@ -2842,7 +2842,7 @@ void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h, /* set the size and position if fullscreen */ if (self->fullscreen) { - Rect const *a; + const Rect *a; guint i; i = screen_find_monitor(&desired);