diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-02-24 17:08:06 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-02-24 17:08:06 +0000 |
commit | 2ce916aa6ae42784afde07c4656a79afb137e948 (patch) | |
tree | 72ed3d1ac8275e75e2a5e24d541c60512f9f1ebb /hw/xwin/winclipboardwndproc.c | |
parent | 8f72f7ae85ccb8a59789d0bdd03501b45b6e5553 (diff) | |
parent | 2d46e4877bac37abac18ee21878836727a15331d (diff) |
Merge branch 'cygwin-patches-for-1.11' into cygwin-release-1.11xserver-cygwin-1.11.4-5cygwin-release-1.11
Diffstat (limited to 'hw/xwin/winclipboardwndproc.c')
-rwxr-xr-x | hw/xwin/winclipboardwndproc.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/hw/xwin/winclipboardwndproc.c b/hw/xwin/winclipboardwndproc.c index 40bdaa978..02347ff43 100755 --- a/hw/xwin/winclipboardwndproc.c +++ b/hw/xwin/winclipboardwndproc.c @@ -246,32 +246,6 @@ winClipboardWindowProc (HWND hwnd, UINT message, winDebug ("winClipboardWindowProc - WM_WM_REINIT: Exit\n"); return 0; - case WM_WM_DEINIT: - { - /* - Assume the user has changed the selection since we gained - focus, so empty the Windows clipboard, to tell Windows that - it needs to ask us to render the contents again if anyone asks - for it - */ - - /* Set up for another delayed rendering callback */ - OpenClipboard (hwnd); - - /* Take ownership of the Windows clipboard */ - EmptyClipboard (); - - /* Advertise Unicode if we support it */ - if (g_fUnicodeSupport) - SetClipboardData (CF_UNICODETEXT, NULL); - - /* Always advertise regular text */ - SetClipboardData (CF_TEXT, NULL); - - /* Release the clipboard */ - CloseClipboard (); - } - return 0; case WM_DRAWCLIPBOARD: { |