summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-26 21:12:17 +0000
committerDana Jansens <danakj@orodu.net>2002-08-26 21:12:17 +0000
commiteca8fd764eeb631733cae2b171ca0787fca788d7 (patch)
treec1b7040699dbc1bc1e2c291544691e7209d333cc
parent656478e3cc1c916b16b0da42ca6c11471e5817ea (diff)
dont auto-raise sticky windows, theyre on the current workspace too
-rw-r--r--util/epist/screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc
index a7098a77..7845e55f 100644
--- a/util/epist/screen.cc
+++ b/util/epist/screen.cc
@@ -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 (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