Permalink
Browse files

Layout/Client: Fix max layout (#92)

  • Loading branch information...
1 parent dc836cc commit 7eb15d595f714309c3e61698a363247b4d6af956 @xorg62 committed May 14, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/client.c
View
@@ -1097,10 +1097,7 @@ client_maximize(Client *c)
c->geo.width = sgeo[c->screen].width - BORDH * 2;
c->geo.height = sgeo[c->screen].height - BORDH;
- client_moveresize(c, c->geo, False);
-
- /* Raise for maximized clients, client_raise has too much condition */
- XRaiseWindow(dpy, c->frame);
+ client_moveresize(c, c->geo, tags[c->screen][c->tag].resizehint);
@sironitomas

sironitomas May 26, 2011

So, is that line of code supposed to solve the problem?

return;
}

0 comments on commit 7eb15d5

Please sign in to comment.