summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.h
diff options
context:
space:
mode:
authorFederico Mena <federico@bananoid.nuclecu.unam.mx>1998-01-16 23:43:10 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-01-16 23:43:10 +0000
commitc44ba4b377870e3741a90a15922da8e31a0253a1 (patch)
tree0e73958696744f85b6b52e4d30316a860ab3db4c /gtk/gtkhandlebox.h
parenta6252a3297c66ba754a3202972d272b9e8388751 (diff)
downloadgtk+-c44ba4b377870e3741a90a15922da8e31a0253a1.tar.gz
Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination for
Fri Jan 16 00:36:31 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * gtk/gtkhandlebox.c: Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination for reparenting the child of the handle box. This solves the problem of having X calls in Gtk. It also makes the handle box work with KWM, OLVWM, 4Dwm (so I expect mwm to work as well). I hadn't noticed that previously it only worked with fvwm and twm. * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the real_parent field, as it is never used. (struct _GtkHandleBox): Added a float_window field. This is a GtkWindow to where the child is now reparented.
Diffstat (limited to 'gtk/gtkhandlebox.h')
-rw-r--r--gtk/gtkhandlebox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkhandlebox.h b/gtk/gtkhandlebox.h
index ac20a08222..8c3ad7593c 100644
--- a/gtk/gtkhandlebox.h
+++ b/gtk/gtkhandlebox.h
@@ -47,8 +47,8 @@ struct _GtkHandleBox
{
GtkBin bin;
- GtkWidget *real_parent;
GdkWindow *steady_window; /* the window that stays in the parent container */
+ GtkWidget *float_window;
GtkRequisition real_requisition;
gboolean is_being_dragged;
gboolean is_onroot;