Commit b5cac672 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: flush the display during transfer phase

This avoids delays, timeouts and missing copy/paste actions.
parent 4db1172a
......@@ -991,6 +991,8 @@ void nxagentTransferSelection(int resource)
SetClientSelectionStage(WaitSize);
NXFlushDisplay(nxagentDisplay, NXFlushLink);
break;
}
case SelectionStageQueryData:
......@@ -1043,6 +1045,10 @@ void nxagentTransferSelection(int resource)
SetClientSelectionStage(WaitData);
/* we've seen situations where you had to move the mouse or press a
key to let the transfer complete. Flushing here fixed it */
NXFlushDisplay(nxagentDisplay, NXFlushLink);
break;
}
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment