if user is moving a window and switches workspaces, stop moving that window

This commit is contained in:
Dana Jansens 2002-04-28 12:34:34 +00:00
parent 8ef0610e90
commit 1789f16af9

View file

@ -1494,6 +1494,9 @@ void OpenboxWindow::close(void) {
void OpenboxWindow::withdraw(void) { void OpenboxWindow::withdraw(void) {
if (flags.moving)
endMove();
flags.visible = False; flags.visible = False;
flags.iconic = False; flags.iconic = False;