Skip to content
Snippets Groups Projects
Commit dd2fc88f 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 08a2f524
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment