Fix a bug preventing ismoving to be reset to false
This commit is contained in:
parent
83cecd067c
commit
94a83c84b6
2
mouse.c
2
mouse.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue