[client] clipboard: correctly alert for large buffers

This commit is contained in:
Geoffrey McRae 2020-12-03 02:35:40 +11:00
parent 69b8c4b4eb
commit d700e19a32

View file

@ -248,9 +248,10 @@ static void x11_cb_selection_notify(const XSelectionEvent e)
&after,
&data);
if (format == this->aIncr)
if (type == this->aIncr)
{
DEBUG_WARN("fixme: large paste buffers are not yet supported");
this->notifyFn(LG_CLIPBOARD_DATA_NONE);
goto out;
}