mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
[mouse] Do not overwrite events when moving
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
32fc1a0a78
commit
baa9525c70
1 changed files with 4 additions and 4 deletions
2
mouse.c
2
mouse.c
|
@ -245,7 +245,7 @@ uicb_client_movemouse(int screen, char *arg __attribute__ ((unused)))
|
|||
{
|
||||
/* XMaskEvent allows to retrieve only specified events from
|
||||
* the queue and requeue the other events... */
|
||||
while((ev = xcb_wait_for_event(globalconf.connection)))
|
||||
while(ev || (ev = xcb_wait_for_event(globalconf.connection)))
|
||||
{
|
||||
switch((ev->response_type & 0x7f))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue