Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lahwaacz
Created March 5, 2013 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahwaacz/5094365 to your computer and use it in GitHub Desktop.
Save lahwaacz/5094365 to your computer and use it in GitHub Desktop.
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