mouse: cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
eae8afdd7e
commit
c1d7140f87
5
mouse.c
5
mouse.c
|
@ -418,9 +418,7 @@ mouse_track_mouse_drag(int *x, int *y)
|
|||
xcb_button_release_event_t *ev_button;
|
||||
|
||||
while(true)
|
||||
{
|
||||
while((ev = xcb_wait_for_event(globalconf.connection)))
|
||||
{
|
||||
switch((ev->response_type & 0x7F))
|
||||
{
|
||||
|
||||
|
@ -443,9 +441,6 @@ mouse_track_mouse_drag(int *x, int *y)
|
|||
p_delete(&ev);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Get the client that contains the pointer.
|
||||
|
|
Loading…
Reference in New Issue