emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115365: Add to last fix: In gtk resizing count tool


From: Martin Rudalics
Subject: [Emacs-diffs] trunk r115365: Add to last fix: In gtk resizing count tool and menubars.
Date: Tue, 03 Dec 2013 18:08:26 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115365
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Tue 2013-12-03 19:08:14 +0100
message:
  Add to last fix: In gtk resizing count tool and menubars.
modified:
  src/gtkutil.c                  gtkutil.c-20091113204419-o5vbwnq5f7feedwu-2527
=== modified file 'src/gtkutil.c'
--- a/src/gtkutil.c     2013-12-03 07:45:54 +0000
+++ b/src/gtkutil.c     2013-12-03 18:08:14 +0000
@@ -952,7 +952,9 @@
   /* 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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]