aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan Djärv2005-01-08 16:49:14 +0000
committerJan Djärv2005-01-08 16:49:14 +0000
commite091085739f5088043e65a10b6b6b423f4e2f354 (patch)
treeeb7945af633ac9ab5c7e25f518bc099efb023f23 /src/xterm.h
parenta4dfc830e04f9f01cc359e5b0b40ec5f39a3406b (diff)
downloademacs-e091085739f5088043e65a10b6b6b423f4e2f354.tar.gz
emacs-e091085739f5088043e65a10b6b6b423f4e2f354.zip
* 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.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 2f71f644217..2c24dcd592c 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -499,6 +499,8 @@ struct x_output
499 GtkWidget *toolbar_widget; 499 GtkWidget *toolbar_widget;
500 /* The handle box that makes the tool bar detachable. */ 500 /* The handle box that makes the tool bar detachable. */
501 GtkWidget *handlebox_widget; 501 GtkWidget *handlebox_widget;
502 /* Non-zero if the tool bar is detached. */
503 int toolbar_detached;
502 504
503 /* The last size hints set. */ 505 /* The last size hints set. */
504 GdkGeometry size_hints; 506 GdkGeometry size_hints;