diff options
author | okan <okan> | 2012-09-09 19:47:47 +0000 |
---|---|---|
committer | okan <okan> | 2012-09-09 19:47:47 +0000 |
commit | 86524e21dd53bad45f4586a7cc856062b67f8033 (patch) | |
tree | e9eabb61fe04d55d914b1a1decc955fff12d0991 /kbfunc.c | |
parent | 7071261bde1d100629765ca179a6e8ee662569a6 (diff) | |
download | cwm-86524e21dd53bad45f4586a7cc856062b67f8033.tar.gz cwm-86524e21dd53bad45f4586a7cc856062b67f8033.tar.xz cwm-86524e21dd53bad45f4586a7cc856062b67f8033.zip |
extend client_resize so that it can know when to reset max flags and
bwidth; this allows a client to be resized from a max state, which now gets treated like a non-max'd client. based on a diff that does part of this in a different way from Alexander Polakov.
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c index 0f95df4..2b26416 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -117,7 +117,7 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg) cc->geom.h = 1; if ((cc->geom.w += mx) < 1) cc->geom.w = 1; - client_resize(cc); + client_resize(cc, 1); /* Make sure the pointer stays within the window. */ xu_ptr_getpos(cc->win, &cc->ptr.x, &cc->ptr.y); |