diff options
author | okan | 2018-11-13 17:37:13 +0000 |
---|---|---|
committer | okan | 2018-11-13 17:37:13 +0000 |
commit | ca79a22e6fffc9639d184a137de8b417c39e8024 (patch) | |
tree | e98647c4574e1c0f86ac91537c5e68b9f4380f08 /xevents.c | |
parent | 87fe084efc23e420de6be0523ec91e82d44fc093 (diff) | |
download | cwm-ca79a22e6fffc9639d184a137de8b417c39e8024.tar.gz |
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 '')
-rw-r--r-- | xevents.c | 5 |
1 files changed, 4 insertions, 1 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: xevents.c,v 1.134 2018/02/04 22:56:26 okan Exp $ + * $OpenBSD: xevents.c,v 1.135 2018/11/13 17:37:13 okan Exp $ */ /* @@ -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 */ |