summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-04-16 11:31:22 -0400
committerDana Jansens <danakj@orodu.net>2010-04-16 11:37:21 -0400
commit34178097d559ef522ea0984091489c209f4e9e0e (patch)
tree881140c5a4e6e5a00e92956b5da438d44ed92e5c /openbox/client.c
parent262591ec1adc1badfcb36e9e6876dd81f2df9492 (diff)
use const Rect* not Rect const*
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbox/client.c b/openbox/client.c
index adbbc13b..755e9ad5 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);