summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkglobals-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-01-23 00:38:17 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-01-23 00:38:17 +0000
commit736f4c87588d28919e9d2f27c904f17c78fc5d5e (patch)
tree3cbaaf1d5d5f7b2ac99af1a7c1031cf4c3d335b5 /gdk/win32/gdkglobals-win32.c
parent26629f7a935e81f63a03ff3ba71be1208b789f5e (diff)
downloadgtk+-736f4c87588d28919e9d2f27c904f17c78fc5d5e.tar.gz
Fix for #163702, from Ivan Wong:
2005-01-23 Tor Lillqvist <tml@novell.com> Fix for #163702, from Ivan Wong: * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard. * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a GDK_SELECTION_CLEAR event. * gdk/win32/gdkselection-win32.c (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard when emptying the clipboard ourselves. (gdk_selection_send_notify_for_display): Remove the artifical GDK_SELECTION_CLEAR event generation.
Diffstat (limited to 'gdk/win32/gdkglobals-win32.c')
-rw-r--r--gdk/win32/gdkglobals-win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/win32/gdkglobals-win32.c b/gdk/win32/gdkglobals-win32.c
index 4af1eb72d6..3778d7fdab 100644
--- a/gdk/win32/gdkglobals-win32.c
+++ b/gdk/win32/gdkglobals-win32.c
@@ -66,3 +66,4 @@ gint _gdk_input_ignore_wintab = FALSE;
gint _gdk_max_colors = 0;
gboolean _sizemove_in_progress = FALSE;
+gboolean _ignore_destroy_clipboard = FALSE;