Created
March 5, 2013 21:18
-
-
Save lahwaacz/5094365 to your computer and use it in GitHub Desktop.
WMFS2 patch for https://github.com/xorg62/wmfs/issues/81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git src/client.c src/client.c | |
index 7b9790e..db38e8b 100644 | |
--- src/client.c | |
+++ src/client.c | |
@@ -1115,7 +1115,8 @@ client_winsize(struct client *c, struct geo *g) | |
c->wgeo.h = oh = tmp.h - (c->border + c->tbarw); | |
c->wgeo.w = ow = tmp.w - (c->border << 1); | |
- client_geo_hints(&c->wgeo, (int*)c->sizeh); | |
+ if(c->flags & CLIENT_FREE) | |
+ client_geo_hints(&c->wgeo, (int*)c->sizeh); | |
/* Check possible problem for tile integration */ | |
if(ow < c->sizeh[MINW] || oh < c->sizeh[MINH]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment