From: Dana Jansens Date: Sun, 28 Apr 2002 19:17:16 +0000 (+0000) Subject: when a window is iconified, it was being moved, end the move cleanly X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=127252cc1049da41a9c858139f610bc1c68c49c6;p=chaz%2Fopenbox when a window is iconified, it was being moved, end the move cleanly --- 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);