bugfix: handle correctly event while mouse moving/resizing
This commit is contained in:
parent
d4da588bd8
commit
9b05a2b21f
8
event.c
8
event.c
|
@ -76,7 +76,11 @@ movemouse(Client * c, awesome_config *awesomeconf)
|
||||||
XUngrabPointer(c->display, CurrentTime);
|
XUngrabPointer(c->display, CurrentTime);
|
||||||
return;
|
return;
|
||||||
case ConfigureRequest:
|
case ConfigureRequest:
|
||||||
|
handle_event_configurerequest(&ev,awesomeconf);
|
||||||
|
break;
|
||||||
case Expose:
|
case Expose:
|
||||||
|
handle_event_expose(&ev, awesomeconf);
|
||||||
|
break;
|
||||||
case MapRequest:
|
case MapRequest:
|
||||||
handle_event_maprequest(&ev, awesomeconf);
|
handle_event_maprequest(&ev, awesomeconf);
|
||||||
break;
|
break;
|
||||||
|
@ -124,7 +128,11 @@ resizemouse(Client * c, awesome_config *awesomeconf)
|
||||||
while(XCheckMaskEvent(c->display, EnterWindowMask, &ev));
|
while(XCheckMaskEvent(c->display, EnterWindowMask, &ev));
|
||||||
return;
|
return;
|
||||||
case ConfigureRequest:
|
case ConfigureRequest:
|
||||||
|
handle_event_configurerequest(&ev,awesomeconf);
|
||||||
|
break;
|
||||||
case Expose:
|
case Expose:
|
||||||
|
handle_event_expose(&ev, awesomeconf);
|
||||||
|
break;
|
||||||
case MapRequest:
|
case MapRequest:
|
||||||
handle_event_maprequest(&ev, awesomeconf);
|
handle_event_maprequest(&ev, awesomeconf);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue