Skip to content
Snippets Groups Projects
Commit d60cc963 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove stale code from net_wm_state_is_cb()

It's unlikely this is what Digitalman reported from ASan and UBSan
parent 4798e18e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4526 passed
...@@ -1539,7 +1539,6 @@ net_wm_state_is_cb(bool (*cb)(Atom)) ...@@ -1539,7 +1539,6 @@ net_wm_state_is_cb(bool (*cb)(Atom))
} }
ret = (Atom *)prop; ret = (Atom *)prop;
if (cb(*ret)) if (cb(*ret))
if (*ret == A(_NET_WM_STATE_FULLSCREEN))
is = true; is = true;
x11.XFree(prop); x11.XFree(prop);
if (is) if (is)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment