diff options
author | okan <okan> | 2020-02-07 18:53:41 +0000 |
---|---|---|
committer | okan <okan> | 2020-02-07 18:53:41 +0000 |
commit | 54d95c06109091056d3f8b2ac73e2ebc30e090e6 (patch) | |
tree | 0d9a5a4b111137ae40f90920edbcf537208e6328 /client.c | |
parent | 450ab06ab776e972a4c401aa91ba9627464fa513 (diff) | |
parent | 7a88b2bdb2789e549ed4caab37c814198e347696 (diff) | |
download | cwm-54d95c06109091056d3f8b2ac73e2ebc30e090e6.tar.gz cwm-54d95c06109091056d3f8b2ac73e2ebc30e090e6.tar.xz cwm-54d95c06109091056d3f8b2ac73e2ebc30e090e6.zip |
cvsimport
* refs/heads/master: Allow the 'empty' group clients to be window-{h,v}tile'd. Map ('5') and allow mod5mask (altgr) as a modifier. add, then use, xvasprintf, checking for appropriate return. Ensure the pointer stays within client bounds after a window 'snap' (to edge).
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client.c b/client.c index 39df4d3..2384f59 100644 --- a/client.c +++ b/client.c @@ -971,10 +971,7 @@ client_htile(struct client_ctx *cc) struct geom area; int i, n, mh, x, w, h; - if (!cc->gc) - return; i = n = 0; - area = screen_area(sc, cc->geom.x + cc->geom.w / 2, cc->geom.y + cc->geom.h / 2, CWM_GAP); @@ -1042,10 +1039,7 @@ client_vtile(struct client_ctx *cc) struct geom area; int i, n, mw, y, w, h; - if (!cc->gc) - return; i = n = 0; - area = screen_area(sc, cc->geom.x + cc->geom.w / 2, cc->geom.y + cc->geom.h / 2, CWM_GAP); |