mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
Revert "[client] x11: check if the EWMH atoms exist before using them"
This reverts commit cfd2e6ff32
.
This commit is contained in:
parent
cfd2e6ff32
commit
f24db8d0cd
@ -195,10 +195,6 @@ static void x11CheckEWMHSupport(void)
|
||||
|
||||
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,
|
||||
x11atoms._NET_SUPPORTING_WM_CHECK, 0, ~0L, False, XA_WINDOW,
|
||||
&type, &fmt, &num, &bytes, &data) != Success)
|
||||
|
Loading…
Reference in New Issue
Block a user