Ignore clipboard events if channel not loaded.
This commit is contained in:
parent
c8e85338b7
commit
891d9760dc
@ -281,6 +281,9 @@ BOOL wlf_cliprdr_handle_event(wfClipboard* clipboard, const UwacClipboardEvent*
|
||||
if (!clipboard || !event)
|
||||
return FALSE;
|
||||
|
||||
if (!clipboard->context)
|
||||
return TRUE;
|
||||
|
||||
switch (event->type)
|
||||
{
|
||||
case UWAC_EVENT_CLIPBOARD_AVAILABLE:
|
||||
|
Loading…
Reference in New Issue
Block a user