tUse correct atom type for _NET_SUPPORTING_WM_CHECK - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8c661392def9d6df282a20dcd526ade0ced14036
(DIR) parent 9933f8f5574fbd838d3299568b6e7b3d63c838dd
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 8 Jun 2020 10:40:04 +0200
Use correct atom type for _NET_SUPPORTING_WM_CHECK
Diffstat:
M ewmh.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/ewmh.c b/ewmh.c
t@@ -157,8 +157,8 @@ ewmh_supportingwmcheck()
scrn->root_visual, /* visual */
XCB_CW_OVERRIDE_REDIRECT, &val); /* have the WM ignore us */
- wm_set_atom(scrn->root, ewmh[_NET_SUPPORTING_WM_CHECK].atom, XCB_ATOM_ATOM, 1, &ewmhwid);
- wm_set_atom(ewmhwid, ewmh[_NET_SUPPORTING_WM_CHECK].atom, XCB_ATOM_ATOM, 1, &ewmhwid);
+ wm_set_atom(scrn->root, ewmh[_NET_SUPPORTING_WM_CHECK].atom, XCB_ATOM_WINDOW, 1, &ewmhwid);
+ wm_set_atom(ewmhwid, ewmh[_NET_SUPPORTING_WM_CHECK].atom, XCB_ATOM_WINDOW, 1, &ewmhwid);
return 0;
}