From e233c2bfab74dea8c8a13fa456052a7e6a9e092e Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 28 Jan 2008 16:46:31 +0100 Subject: [PATCH] drop some EnterWindow events on swap/zoom --- client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.c b/client.c index 43b671143..de2024fca 100644 --- a/client.c +++ b/client.c @@ -711,6 +711,7 @@ uicb_client_swapprev(int screen __attribute__ ((unused)), { client_list_swap(&globalconf.clients, prev, globalconf.focus->client); globalconf.screens[prev->screen].need_arrange = True; + globalconf.drop_events |= EnterWindowMask; } } @@ -729,6 +730,7 @@ uicb_client_swapnext(int screen __attribute__ ((unused)), { client_list_swap(&globalconf.clients, globalconf.focus->client, next); globalconf.screens[next->screen].need_arrange = True; + globalconf.drop_events |= EnterWindowMask; } } @@ -933,6 +935,7 @@ uicb_client_zoom(int screen, char *arg __attribute__ ((unused))) client_list_detach(&globalconf.clients, sel); client_list_push(&globalconf.clients, sel); globalconf.screens[screen].need_arrange = True; + globalconf.drop_events |= EnterWindowMask; } /** Send focus to next client in stack