Fix a bug preventing ismoving to be reset to false

This commit is contained in:
Julien Danjou 2008-03-17 18:52:46 +01:00
parent 83cecd067c
commit 94a83c84b6
1 changed files with 1 additions and 1 deletions

View File

@ -80,6 +80,7 @@ uicb_client_movemouse(int screen, char *arg __attribute__ ((unused)))
{ {
case ButtonRelease: case ButtonRelease:
XUngrabPointer(globalconf.display, CurrentTime); XUngrabPointer(globalconf.display, CurrentTime);
c->ismoving = False;
return; return;
case ConfigureRequest: case ConfigureRequest:
event_handle_configurerequest(&ev); event_handle_configurerequest(&ev);
@ -140,7 +141,6 @@ uicb_client_movemouse(int screen, char *arg __attribute__ ((unused)))
break; break;
} }
} }
c->ismoving = False;
} }
/** Resize client with mouse /** Resize client with mouse