bugfix: handle correctly event while mouse moving/resizing

This commit is contained in:
Julien Danjou 2007-10-11 10:28:43 +02:00
parent d4da588bd8
commit 9b05a2b21f
1 changed files with 8 additions and 0 deletions

View File

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