xserver/hw/xwin/winclipboard
Jon TURNEY e1cf2b47be hw/xwin: Look up atoms in winClipboardProc()
Look up all atoms of interest in clipboard code in winClipboardProc() and pass
them down.

This avoids the need to check serverGeneration to notice when we need to
invalidate cached atom values.

Also consistently use cached atom values everywhere, rather than sometimes just
doing XInternAtom() again.

Remove WIN_LOCAL_PROPERTY as unused now, as we only refer to CYGX_CUT_BUFFER
once and do that directly.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2014-09-13 14:18:33 +01:00
..
Makefile.am hw/xwin: Move clipboard integration code down to a subdirectory 2014-09-13 14:06:28 +01:00
internal.h hw/xwin: Look up atoms in winClipboardProc() 2014-09-13 14:18:33 +01:00
textconv.c hw/xwin: Move clipboard integration code down to a subdirectory 2014-09-13 14:06:28 +01:00
thread.c hw/xwin: Look up atoms in winClipboardProc() 2014-09-13 14:18:33 +01:00
winclipboard.h hw/xwin: Add fUseUnicode as parameter to winClipboardProc() 2014-09-13 14:18:30 +01:00
wndproc.c hw/xwin: Look up atoms in winClipboardProc() 2014-09-13 14:18:33 +01:00
xevents.c hw/xwin: Look up atoms in winClipboardProc() 2014-09-13 14:18:33 +01:00