[client] x11: don't notify to clear if no property

This commit is contained in:
Geoffrey McRae 2019-02-24 12:10:57 +11:00
parent d8b01c0257
commit dd38f3ce13

View file

@ -269,7 +269,6 @@ static void x11_cb_wmevent(SDL_SysWMmsg * msg)
// an array of padded 64-bit values
if (!data || format != 32)
{
this->notifyFn(LG_CLIPBOARD_DATA_NONE);
if (data)
XFree(data);
return;