diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-12-25 14:14:17 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-12-25 14:14:17 -0800 |
commit | 96bca045f940d8a31bc38cabbf9646b93e9c7087 (patch) | |
tree | 93d779cae1b3349f76c44a50f8b71e5b365849d8 /src/xwindow.c | |
parent | f12e78b56fb26ea97b4e969a3ccb12c9e3f21a73 (diff) |
*: test override_redirect via vwm_xwin_should_manage()
Now vwm ignores override_redirect for fullscreen windows.
Diffstat (limited to 'src/xwindow.c')
-rw-r--r-- | src/xwindow.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xwindow.c b/src/xwindow.c index a682e9f..813399b 100644 --- a/src/xwindow.c +++ b/src/xwindow.c @@ -188,7 +188,10 @@ vwm_xwindow_t * vwm_xwin_create(vwm_t *vwm, Window win, vwm_grab_mode_t grabbed) list_add_tail(&xwin->xwindows, &vwm->xwindows); /* created windows are always placed on the top of the stacking order */ - if (!attrs.override_redirect && xwin->client_mapped) + VWM_TRACE_WIN(win, "name=\"%s\" override_redirect=%i client_mapped=%i\n", + xwin->name, (int)attrs.override_redirect, (int)xwin->client_mapped); + + if (xwin->client_mapped && vwm_xwin_should_manage(vwm, xwin)) vwm_win_manage_xwin(vwm, xwin); _out_grabbed: |