]> Pileus Git - ~andy/gtk/commit
Lots of changes all over the place. Now the widget has two windows. The
authorFederico Mena <federico@bananoid.nuclecu.unam.mx>
Fri, 16 Jan 1998 19:01:56 +0000 (19:01 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Fri, 16 Jan 1998 19:01:56 +0000 (19:01 +0000)
commit582a3f433c7b1fd1940cb273b522da39931fb9a8
tree0905509128f54c8ea60bb781a60a33656bb81f77
parent97f11c694c2f9e43a26dc733c18a19a3c12173fa
Lots of changes all over the place. Now the widget has two windows. The

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
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkhandlebox.c
gtk/gtkhandlebox.h