Revert "[client] x11: check if the EWMH atoms exist before using them"
This reverts commit cfd2e6ff32.
This commit is contained in:
1 parent
cfd2e6ff32
commit
f24db8d0cd
1 file changed
-4
@@ -195,10 +195,6 @@ static void x11CheckEWMHSupport(void)
|
|||||||
|
|
||||||
Window * windowFromRoot = (Window *)data;
|
Window * windowFromRoot = (Window *)data;
|
||||||
|
|
||||||
if (!x11atoms._NET_SUPPORTING_WM_CHECK || !x11atoms._NET_SUPPORTED ||
|
|
||||||
!x11atoms._NET_WM_NAME)
|
|
||||||
goto out_root;
|
|
||||||
|
|
||||||
if (XGetWindowProperty(x11.display, *windowFromRoot,
|
if (XGetWindowProperty(x11.display, *windowFromRoot,
|
||||||
x11atoms._NET_SUPPORTING_WM_CHECK, 0, ~0L, False, XA_WINDOW,
|
x11atoms._NET_SUPPORTING_WM_CHECK, 0, ~0L, False, XA_WINDOW,
|
||||||
&type, &fmt, &num, &bytes, &data) != Success)
|
&type, &fmt, &num, &bytes, &data) != Success)
|
||||||
|
|||||||
Reference in new issue
Block a user