From 3dd0b5e92867c60d06e9e558ce196776a6e24ae4 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Mon, 2 Jan 2012 04:19:41 +0200 Subject: fix flickering when changing windows on fullscreen mode --- monsterwm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/monsterwm.c b/monsterwm.c index bbfc0cd..35dd872 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -449,7 +449,6 @@ void move_up() { void next_win() { if (!current || !head->next) return; - if (mode == MONOCLE) XUnmapWindow(dis, current->win); current = (current->next) ? current->next : head; if (mode == MONOCLE) XMapWindow(dis, current->win); update_current(); @@ -457,7 +456,6 @@ void next_win() { void prev_win() { if (!current || !head->next) return; - if (mode == MONOCLE) XUnmapWindow(dis, current->win); if (head == current) while (current->next) current=current->next; else for (client *t=head; t; t=t->next) if (t->next == current) { current = t; break; } if (mode == MONOCLE) XMapWindow(dis, current->win); -- cgit v1.3.1