summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-17 01:38:01 +0000
committerDana Jansens <danakj@orodu.net>2007-05-17 01:38:01 +0000
commit2ca83f67137c41ecd7d2cc2742b79aa8b2d7c8a8 (patch)
tree7bed19135f69d1ea1b1e2a7baf1cb10c7e0ff792 /openbox/client.h
parent619eeaa962e8718901cfc9eabe56e503ba40cd90 (diff)
grab the pointer when windows move them selves so no enter events happen. i wonder if this will cause but reports. it still does for restacking though..
little cleanup in client.c, and remove client_configure macro which was now redundant
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 0f584a77..3dcf62fc 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -369,15 +369,12 @@ void client_convert_gravity(ObClient *self, gint gravity, gint *x, gint *y,
gint w, gint h);
#define client_move(self, x, y) \
- client_configure(self, x, y, self->area.width, self->area.height, \
- TRUE, TRUE)
+ client_configure_full(self, x, y, self->area.width, self->area.height, \
+ TRUE, TRUE)
#define client_resize(self, w, h) \
- client_configure(self, self->area.x, self->area.y, w, h, TRUE, TRUE)
+ client_configure_full(self, self->area.x, self->area.y, w, h, TRUE, TRUE)
#define client_move_resize(self, x, y, w, h) \
- client_configure(self, x, y, w, h, TRUE, TRUE)
-
-#define client_configure(self, x, y, w, h, user, final) \
- client_configure_full(self, x, y, w, h, user, final)
+ client_configure_full(self, x, y, w, h, TRUE, TRUE)
/*! Figure out where a window will end up and what size it will be if you
told it to move/resize to these coordinates.