From 1789f16af9d853e3961cbb7c0c753e0e12263969 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 28 Apr 2002 12:34:34 +0000 Subject: [PATCH] if user is moving a window and switches workspaces, stop moving that window --- src/Window.cc | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.45.2