diff options
author | okan | 2012-09-09 19:47:47 +0000 |
---|---|---|
committer | okan | 2012-09-09 19:47:47 +0000 |
commit | 3f39c1ade76f893d54e73fe273041ff90c39d7de (patch) | |
tree | 5979019c722abe491734c43e8bc1a94e91e2fb83 /kbfunc.c | |
parent | 27c19dc76dec9d1f5bc83b63aac5278b5c5e24c2 (diff) | |
download | cwm-3f39c1ade76f893d54e73fe273041ff90c39d7de.tar.gz |
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 '')
-rw-r--r-- | kbfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.62 2012/07/13 17:01:04 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.63 2012/09/09 19:47:47 okan Exp $ */ #include <sys/param.h> @@ -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); |