From f24db8d0cdc9fba032a394f2eacb0e5ff220984e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 10 Feb 2022 13:36:40 +1100 Subject: [PATCH] Revert "[client] x11: check if the EWMH atoms exist before using them" This reverts commit cfd2e6ff32e8dc27575b930dd2416c4832904874. --- client/displayservers/X11/x11.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/displayservers/X11/x11.c b/client/displayservers/X11/x11.c index 55a3e5c3..f88d6782 100644 --- a/client/displayservers/X11/x11.c +++ b/client/displayservers/X11/x11.c @@ -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)