From 60f4f3c8808e3ca9abccdf51854f430a4214fbb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Arias?= Date: Fri, 15 Jun 2012 18:45:14 +0000 Subject: [PATCH] Revert last change in GSWindowDecorationView.m while found the real problem git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35205 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/GSWindowDecorationView.m | 12 +----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 683c1dfab..a7459aa86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-15 German A. Arias + + * Source/GSWindowDecorationView.m (-changeWindowHeight:): Revert + last change while found the real problem. + 2012-06-13 Eric Wasylishen * Source/NSSplitView.m (adjustSubviews): Use centerScanRect to diff --git a/Source/GSWindowDecorationView.m b/Source/GSWindowDecorationView.m index b3a98561c..4fd79efd9 100644 --- a/Source/GSWindowDecorationView.m +++ b/Source/GSWindowDecorationView.m @@ -372,20 +372,10 @@ static inline NSRect RectWithSizeScaledByFactor(NSRect aRect, CGFloat factor) orgWindowFrame = [window frame]; windowFrame.origin.y = orgWindowFrame.origin.y + orgWindowFrame.size.height - windowFrame.size.height; windowFrame.origin.x = orgWindowFrame.origin.x; - /* FIXME: Make an intermediate frame to set in the window before call -layout. - * Later we will set a frame with the correct dimensions. This intermediate - * frame only differs on the width (subtract 1). This ensure the correct - * behaviour of the in-window menu. Even when I'm not sure why. - */ - windowFrame.size.width -= 1; - // then resize the window with the intermediate frame and call -layout + // then resize the window [window setFrame: windowFrame display: YES]; [self layout]; - - // Now resize the window to correct width - windowFrame.size.width += 1; - [window setFrame: windowFrame display: YES]; } /*