Subject: bug#3999: [PATCH] incorrect main and mini-buffer window size in 23.1 RC (more apparent in full screen mode)

From: janmejay singh <[email-masked]>
Date: Fri, 31 Jul 2009 19:49:06 +0530

Hi,

Have been observing this bug since tag named EMACS_PRETEST_23_0_94 was
created.

This patch fixes it on branch named EMACS_23_1_RC

The problem is not reproducible on master, its reproducible only on tags
EMACS_PRETEST_23_0_94(and higher) and on branch EMACS_23_1_RC.

Please drop me a mail if screen-shots and detailed description of this
problem are required.

-- 
Regards,
Janmejay
(http://codehunk.wordpress.com)
From 7aca07c7aaa703eff39da17a8aecf86bc4d62449 Mon Sep 17 00:00:00 2001
From: Janmejay Singh <[email-masked]>
Date: Fri, 31 Jul 2009 19:15:34 +0530
Subject: fix to emacs not setting correct mini-buffer window size and frame size when started in full-screen mode (with -fs)

---
 src/gtkutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gtkutil.c b/src/gtkutil.c
index 3ea7c14..7981f98 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -750,7 +750,7 @@ xg_frame_set_char_size (f, cols, rows)
 
      We pass 1 for DELAY since we can't run Lisp code inside of
      a BLOCK_INPUT.  */
-  change_frame_size (f, rows, cols, 0, 1, 0);
+
   FRAME_PIXEL_WIDTH (f) = pixelwidth;
   FRAME_PIXEL_HEIGHT (f) = pixelheight;
 
-- 
1.5.6.5