From: Dana Jansens Date: Sun, 28 Apr 2002 12:34:34 +0000 (+0000) Subject: if user is moving a window and switches workspaces, stop moving that window X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1789f16af9d853e3961cbb7c0c753e0e12263969;p=chaz%2Fopenbox if user is moving a window and switches workspaces, stop moving that window --- diff --git a/src/Window.cc b/src/Window.cc index 3fc0f43d..7ce182dc 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1494,6 +1494,9 @@ void OpenboxWindow::close(void) { void OpenboxWindow::withdraw(void) { + if (flags.moving) + endMove(); + flags.visible = False; flags.iconic = False;