From 2ca83f67137c41ecd7d2cc2742b79aa8b2d7c8a8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 May 2007 01:38:01 +0000 Subject: 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 --- openbox/client.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'openbox/client.h') 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. -- cgit v1.2.3