diff --git a/event.c b/event.c index b6005979..d26c07b6 100644 --- a/event.c +++ b/event.c @@ -71,6 +71,7 @@ movemouse(Client * c, awesome_config *awesomeconf) { case ButtonRelease: XUngrabPointer(c->display, CurrentTime); + p_delete(&si); return; case ConfigureRequest: handle_event_configurerequest(&ev,awesomeconf); @@ -97,7 +98,6 @@ movemouse(Client * c, awesome_config *awesomeconf) break; } } - p_delete(&si); } static void