From d60cc9637f418ab7aa897945689e6b0ed82bd96f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sun, 18 Jun 2023 22:56:00 -0400
Subject: [PATCH] Remove stale code from net_wm_state_is_cb()

It's unlikely this is what Digitalman reported from ASan and UBSan
---
 src/conio/x_events.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index 6c209ae076..e96a558544 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -1539,7 +1539,6 @@ net_wm_state_is_cb(bool (*cb)(Atom))
 			}
 			ret = (Atom *)prop;
 			if (cb(*ret))
-			if (*ret == A(_NET_WM_STATE_FULLSCREEN))
 				is = true;
 			x11.XFree(prop);
 			if (is)
-- 
GitLab