Permalink
Browse files

Fix for opening apps in fullscreen mode

  • Loading branch information...
1 parent 5e2bf3f commit 8113fb6ea906ae20b074699a377da6308ca6cc74 @moetunes committed Sep 25, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 dminiwm.c
View
@@ -812,9 +812,7 @@ void maprequest(XEvent *e) {
return;
}
- if(mode ==1)
- for(c=head;c;c=c->next)
- XUnmapWindow(dis, head->next->win);
+ if(mode == 1 && current != NULL) XUnmapWindow(dis, current->win);
XClassHint ch = {0};
unsigned int i=0, j=0, tmp = current_desktop;
if(XGetClassHint(dis, ev->window, &ch))

0 comments on commit 8113fb6

Please sign in to comment.