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