summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sxwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 4f902de..9781cb2 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -649,7 +649,7 @@ void focus_next_mon(void)
/* find the first window on the target monitor in current workspace */
Client *target_client = NULL;
for (Client *c = workspaces[current_ws]; c; c = c->next) {
- if (c->mon == target_mon && c->mapped && !c->fullscreen) {
+ if (c->mon == target_mon && c->mapped) {
target_client = c;
break;
}
@@ -681,7 +681,7 @@ void focus_prev_mon(void)
/* find the first window on the target monitor in current workspace */
Client *target_client = NULL;
for (Client *c = workspaces[current_ws]; c; c = c->next) {
- if (c->mon == target_mon && c->mapped && !c->fullscreen) {
+ if (c->mon == target_mon && c->mapped) {
target_client = c;
break;
}