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

Revert "Fix crash in net_wm_state_is_cb when running GCC ASan-enabled build"

This reverts commit 35e4bf77.

This simply caused the callback to never be called.
parent 35e4bf77
No related branches found
No related tags found
No related merge requests found
......@@ -1538,7 +1538,7 @@ net_wm_state_is_cb(bool (*cb)(Atom))
break;
}
ret = (Atom *)prop;
if (nir == sizeof(Atom) && cb(*ret))
if (cb(*ret))
is = true;
x11.XFree(prop);
if (is)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment