Commit 0b254a38 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

Add to last fix: In gtk resizing count tool and menubars.

parent bab5c317
......@@ -952,7 +952,9 @@ xg_frame_set_char_size (struct frame *f, int width, int height)
/* Must resize our top level widget. Font size may have changed,
but not rows/cols. */
gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
pixelwidth, pixelheight);
pixelwidth + FRAME_TOOLBAR_WIDTH (f),
pixelheight + FRAME_TOOLBAR_HEIGHT (f)
+ FRAME_MENUBAR_HEIGHT (f));
x_wm_set_size_hint (f, 0, 0);
SET_FRAME_GARBAGED (f);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment