summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-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