drop some EnterWindow events on swap/zoom

This commit is contained in:
Julien Danjou 2008-01-28 16:46:31 +01:00
parent 05d204efcb
commit e233c2bfab
1 changed files with 3 additions and 0 deletions

View File

@ -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