Skip to content
  • Tor Lillqvist's avatar
    Fix for #163702, from Ivan Wong: · 736f4c87
    Tor Lillqvist authored
    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.
    736f4c87