diff src/xterm.h @ 59420:eb72706060ad

* xterm.h (struct x_output): New member, toolbar_detached. * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to 38. (xg_tool_bar_detach_callback): Set toolbar_detached to 1. (xg_tool_bar_attach_callback): Set toolbar_detached to 0. (xg_create_tool_bar): Initialize toolbar_detached. (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if toolbar_detached is zero.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 08 Jan 2005 16:49:14 +0000
parents d0fe8e91ef27
children a8fa7c632ee4 3dcba0bc766b cb67264d6096
line wrap: on
line diff
--- a/src/xterm.h	Sat Jan 08 07:12:32 2005 +0000
+++ b/src/xterm.h	Sat Jan 08 16:49:14 2005 +0000
@@ -499,6 +499,8 @@
   GtkWidget *toolbar_widget;
   /* The handle box that makes the tool bar detachable.  */
   GtkWidget *handlebox_widget;
+  /* Non-zero if the tool bar is detached.  */
+  int toolbar_detached;
 
   /* The last size hints set.  */
   GdkGeometry size_hints;