]> Dogcows Code - chaz/openbox/commitdiff
if user is moving a window and switches workspaces, stop moving that window
authorDana Jansens <danakj@orodu.net>
Sun, 28 Apr 2002 12:34:34 +0000 (12:34 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 28 Apr 2002 12:34:34 +0000 (12:34 +0000)
src/Window.cc

index 3fc0f43d92b7457cd6b85b44155b413d221a743c..7ce182dcb409e8a04b1da86916d66ddbadb4516f 100644 (file)
@@ -1494,6 +1494,9 @@ void OpenboxWindow::close(void) {
 
 
 void OpenboxWindow::withdraw(void) {
+  if (flags.moving)
+    endMove();
+
   flags.visible = False;
   flags.iconic = False;
 
This page took 0.025513 seconds and 4 git commands to generate.