From 94a83c84b6ebe85147aaaadad358c91bc798894c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Mar 2008 18:52:46 +0100 Subject: [PATCH] Fix a bug preventing ismoving to be reset to false --- mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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