From 7cda101247ee8c4d75a4fd9daee4b175f6e54f7c Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 16 Dec 2019 18:35:47 +0100 Subject: Clipboard.c: flush more often to ensure a smooth clipboard experience --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nx-X11') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 8d55c74d7..9707c19bd 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -432,7 +432,7 @@ Status SendSelectionNotifyEventToServer(XSelectionEvent *event_to_send) } #endif - //NXFlushDisplay(nxagentDisplay, NXFlushLink); + NXFlushDisplay(nxagentDisplay, NXFlushLink); return result; } @@ -714,8 +714,6 @@ void nxagentReplyRequestSelection(XEvent *X, Bool success) } SendSelectionNotifyEventToServer(&eventSelection); - - NXFlushDisplay(nxagentDisplay, NXFlushLink); } /* -- cgit v1.2.3