diff options
author | okan <okan> | 2018-11-13 17:37:13 +0000 |
---|---|---|
committer | okan <okan> | 2018-11-13 17:37:13 +0000 |
commit | 194589eb6bfd9d44d2c595035475af14644350c1 (patch) | |
tree | 3778f5aee4ff4e6a5d5c619b97ed0be99ea4809e /xevents.c | |
parent | 268deed916cd217b39568809d520f9d4515abdac (diff) | |
download | cwm-194589eb6bfd9d44d2c595035475af14644350c1.tar.gz cwm-194589eb6bfd9d44d2c595035475af14644350c1.tar.xz cwm-194589eb6bfd9d44d2c595035475af14644350c1.zip |
Allow 'transientfor' clients to inherit group and bwidth either during init or
via property notify events. Previously only the flags were set but nothing was in the path to apply said flags and/or bwidth. Required slight of re-orgnaization of client_init.
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xevents.c b/xevents.c index 21eb68b..e192400 100644 --- a/xevents.c +++ b/xevents.c @@ -198,6 +198,9 @@ xev_handle_propertynotify(XEvent *ee) break; case XA_WM_TRANSIENT_FOR: client_transient(cc); + client_draw_border(cc); + if (cc->gc) + group_movetogroup(cc, cc->gc->num); break; default: /* do nothing */ |