]> Dogcows Code - chaz/openbox/commitdiff
dont auto-raise sticky windows, theyre on the current workspace too
authorDana Jansens <danakj@orodu.net>
Mon, 26 Aug 2002 21:12:17 +0000 (21:12 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 26 Aug 2002 21:12:17 +0000 (21:12 +0000)
util/epist/screen.cc

index a7098a77d6706f2dd186f6269b0e3c5f491cd918..7845e55f9489f8b11c2fa36cefe478584f74252b 100644 (file)
@@ -639,7 +639,7 @@ void screen::cycleWindow(unsigned int state, const bool forward,
 
     // if the window is on another desktop, we can't use XSetInputFocus, since
     // it doesn't imply a workspace change.
 
     // if the window is on another desktop, we can't use XSetInputFocus, since
     // it doesn't imply a workspace change.
-    if (t->desktop() == _active_desktop)
+    if (t->desktop() == _active_desktop || t->desktop() == 0xffffffff)
       t->focus(false); // focus, but don't raise
     else
       t->focus(); // change workspace and focus
       t->focus(false); // focus, but don't raise
     else
       t->focus(); // change workspace and focus
This page took 0.02603 seconds and 4 git commands to generate.