summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-17 02:21:22 +0000
committerDana Jansens <danakj@orodu.net>2007-05-17 02:21:22 +0000
commit281c1edb4206b7e7874990b1bd5f66e1e7e43ede (patch)
treec001525c68f1120ecc5ecf61b58f8a88bab53eee /openbox/client.c
parentb1076c93330d98d93bf6b775f90dca78daf3a1a3 (diff)
kill enter events without using pointer grabs
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/openbox/client.c b/openbox/client.c
index f1cbdc8d..bca2261c 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3272,10 +3272,6 @@ void client_set_state(ObClient *self, Atom action, glong data1, glong data2)
}
}
- /* Grab pointer across these, so it is the same as actions. Enter events
- won't be generated by the windows moving around */
- grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
-
if (max_horz != self->max_horz || max_vert != self->max_vert) {
if (max_horz != self->max_horz && max_vert != self->max_vert) {
/* toggling both */
@@ -3313,19 +3309,11 @@ void client_set_state(ObClient *self, Atom action, glong data1, glong data2)
transients needs to change */
stacking_raise(CLIENT_AS_WINDOW(self));
- /* These things below can change focus so we can't grab pointer for
- them. Note how we have two ungrab_pointers.. */
- ungrab_pointer();
-
/* it also may get focused. if something is focused that shouldn't
be focused anymore, then move the focus */
if (focus_client && client_focus_target(focus_client) != focus_client)
client_focus(focus_client);
}
- else
- /* These things below can change focus so we can't grab pointer for
- them. Note how we have two ungrab_pointers.. */
- ungrab_pointer();
if (iconic != self->iconic)
client_iconify(self, iconic, FALSE, FALSE);