]> Dogcows Code - chaz/openbox/commitdiff
dont unset focused client if it is still/already set, that causes bugs!
authorDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:24:40 +0000 (06:24 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:24:40 +0000 (06:24 +0000)
src/screen.cc

index eddda8df9dd1b1b67d32ef1ae2d746b36b6de039..a403fa13ad8e9709da54b7e36cf835ef0a45dd0b 100644 (file)
@@ -656,7 +656,8 @@ void OBScreen::changeDesktop(long desktop)
   }
 
   // force the callbacks to fire
-  Openbox::instance->setFocusedClient(0);
+  if (!Openbox::instance->focusedClient())
+    Openbox::instance->setFocusedClient(0);
 }
 
 void OBScreen::changeNumDesktops(long num)
This page took 0.022302 seconds and 4 git commands to generate.