diff options
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kbfunc.c b/kbfunc.c index c4ee7ed..fc2aede 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -58,6 +58,9 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg) int x, y, flags, amt; u_int mx, my; + if (cc->flags & CLIENT_FREEZE) + return; + sc = cc->sc; mx = my = 0; @@ -480,6 +483,12 @@ kbfunc_client_hmaximize(struct client_ctx *cc, union arg *arg) } void +kbfunc_client_freeze(struct client_ctx *cc, union arg *arg) +{ + client_freeze(cc); +} + +void kbfunc_quit_wm(struct client_ctx *cc, union arg *arg) { _xev_quit = 1; |