summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 3052e1bf..8089792c 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1160,7 +1160,6 @@ static void event_handle_client(ObClient *client, XEvent *e)
{
gint lw,lh;
- gulong ignore_start;
client_try_configure(client, &x, &y, &w, &h, &lw, &lh, FALSE);
@@ -1179,9 +1178,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
ob_debug("Granting ConfigureRequest x %d y %d w %d h %d\n",
x, y, w, h);
- ignore_start = event_start_ignore_all_enters();
- client_configure(client, x, y, w, h, FALSE, TRUE);
- event_end_ignore_all_enters(ignore_start);
+ client_configure(client, x, y, w, h, FALSE, TRUE, TRUE);
}
break;
}
@@ -1343,7 +1340,6 @@ static void event_handle_client(ObClient *client, XEvent *e)
moveresize_end(TRUE);
} else if (msgtype == prop_atoms.net_moveresize_window) {
gint ograv, x, y, w, h;
- gulong ignore_start;
ograv = client->gravity;
@@ -1388,10 +1384,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
client_find_onscreen(client, &x, &y, w, h, FALSE);
- /* ignore enter events caused by these like ob actions do */
- ignore_start = event_start_ignore_all_enters();
- client_configure(client, x, y, w, h, FALSE, TRUE);
- event_end_ignore_all_enters(ignore_start);
+ client_configure(client, x, y, w, h, FALSE, TRUE, FALSE);
client->gravity = ograv;
} else if (msgtype == prop_atoms.net_restack_window) {