diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-28 12:34:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-28 12:34:34 +0000 |
| commit | 1789f16af9d853e3961cbb7c0c753e0e12263969 (patch) | |
| tree | 599c145e3debb3921c1f745b233bfc530375a08c /src | |
| parent | 8ef0610e9056613eeb1988dde95d252bc0988883 (diff) | |
if user is moving a window and switches workspaces, stop moving that window
Diffstat (limited to 'src')
| -rw-r--r-- | src/Window.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
