X11: don't instanciate a clipboard implementation when clipboard is disabled
This commit is contained in:
parent
3765a9fe35
commit
4753c64038
@ -1332,7 +1332,7 @@ static BOOL xf_post_connect(freerdp* instance)
|
||||
update->SetKeyboardIndicators = xf_keyboard_set_indicators;
|
||||
update->SetKeyboardImeStatus = xf_keyboard_set_ime_status;
|
||||
|
||||
if (!(xfc->clipboard = xf_clipboard_new(xfc)))
|
||||
if (settings->RedirectClipboard && !(xfc->clipboard = xf_clipboard_new(xfc)))
|
||||
return FALSE;
|
||||
|
||||
if (!(xfc->xfDisp = xf_disp_new(xfc)))
|
||||
|
Loading…
Reference in New Issue
Block a user