diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-02 04:19:41 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-02 04:19:41 +0200 |
| commit | 3dd0b5e92867c60d06e9e558ce196776a6e24ae4 (patch) | |
| tree | 1cf4f271cc039d0be118bdd2a8254114de13678e | |
| parent | 0f88c62a714ab54716c08e52a2b9d8109f4b66e5 (diff) | |
fix flickering when changing windows on fullscreen mode
| -rw-r--r-- | monsterwm.c | 2 |
1 files changed, 0 insertions, 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); |
