• Federico Mena's avatar
    Lots of changes all over the place. Now the widget has two windows. The · 582a3f43
    Federico Mena authored
    Fri Jan 16 00:36:31 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
    
    	* gtk/gtkhandlebox.c: Lots of changes all over the place.  Now the
    	widget has two windows.  The steady_window stays put in the parent
    	container, and the widget->window is the one that gets
    	reparented.  Now that window is transient, in compliance with the
    	ICCCM, instead of an OverrideRedirect window.
    
    	We have two windows so that we can properly receive Expose events
    	for the thin 3D line that marks the place where the handlebox is
    	docked.
    
    	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Added fields for
    	dragging (mouse position information).  Added fleur_cursor so that
    	we look pretty.  Added steady_window field; it is the window that
    	actually stays on the parent (widget->window is the one that gets
    	reparented).
    
    Owen, this is the version with the two X calls in gtkhandlebox.c.
    I'll do as you say; either we can add new calls to Gdk, or I can
    modify the handle box code to use a separate GtkWindow and reparent
    the child into that.
    
    - Federico
    582a3f43
gtkhandlebox.h 2.17 KB