From 127252cc1049da41a9c858139f610bc1c68c49c6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 28 Apr 2002 19:17:16 +0000 Subject: [PATCH] when a window is iconified, it was being moved, end the move cleanly --- src/Window.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Window.cc b/src/Window.cc index cff95ec6..33ea5c26 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1422,6 +1422,9 @@ Bool OpenboxWindow::setInputFocus(void) { void OpenboxWindow::iconify(void) { if (flags.iconic) return; + if (flags.moving) + endMove(); + if (windowmenu) windowmenu->hide(); setState(IconicState); -- 2.45.2