drop some EnterWindow events on swap/zoom
This commit is contained in:
parent
05d204efcb
commit
e233c2bfab
3
client.c
3
client.c
|
@ -711,6 +711,7 @@ uicb_client_swapprev(int screen __attribute__ ((unused)),
|
||||||
{
|
{
|
||||||
client_list_swap(&globalconf.clients, prev, globalconf.focus->client);
|
client_list_swap(&globalconf.clients, prev, globalconf.focus->client);
|
||||||
globalconf.screens[prev->screen].need_arrange = True;
|
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);
|
client_list_swap(&globalconf.clients, globalconf.focus->client, next);
|
||||||
globalconf.screens[next->screen].need_arrange = True;
|
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_detach(&globalconf.clients, sel);
|
||||||
client_list_push(&globalconf.clients, sel);
|
client_list_push(&globalconf.clients, sel);
|
||||||
globalconf.screens[screen].need_arrange = True;
|
globalconf.screens[screen].need_arrange = True;
|
||||||
|
globalconf.drop_events |= EnterWindowMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Send focus to next client in stack
|
/** Send focus to next client in stack
|
||||||
|
|
Loading…
Reference in New Issue