]> Dogcows Code - chaz/openbox/commitdiff
when a window is iconified, it was being moved, end the move cleanly
authorDana Jansens <danakj@orodu.net>
Sun, 28 Apr 2002 19:17:16 +0000 (19:17 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 28 Apr 2002 19:17:16 +0000 (19:17 +0000)
src/Window.cc

index cff95ec64e005e72ec7e68480e6edf0370d2a255..33ea5c26c011a519db0636415944603a114d8d13 100644 (file)
@@ -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);
This page took 0.024041 seconds and 4 git commands to generate.