summaryrefslogtreecommitdiff
path: root/hw/xwin/winclipboardinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winclipboardinit.c')
-rw-r--r--hw/xwin/winclipboardinit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/xwin/winclipboardinit.c b/hw/xwin/winclipboardinit.c
index 1cbc27a2b..da8a9b753 100644
--- a/hw/xwin/winclipboardinit.c
+++ b/hw/xwin/winclipboardinit.c
@@ -143,3 +143,10 @@ winFixClipboardChain (void)
PostMessage (g_hwndClipboard, WM_WM_REINIT, 0, 0);
}
}
+
+void
+winUpdateClipboard (void)
+{
+ if (g_fClipboard && g_hwndClipboard)
+ PostMessage (g_hwndClipboard, WM_WM_DEINIT, 0, 0);
+}