diff options
author | Richard Hult <richard@imendio.com> | 2008-02-14 21:34:54 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2008-02-14 21:34:54 +0000 |
commit | 59687608aae7572de812f239270c9849fcad5014 (patch) | |
tree | 39f6a4edeae1f9d98f55cb9302018e8144ba42a6 /gdk/quartz | |
parent | 5737e8f78f1080655764654d08a097405651c468 (diff) | |
download | gtk+-59687608aae7572de812f239270c9849fcad5014.tar.gz |
Set frame, not bounds when resizing to be consistent and to avoid
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
resizing to be consistent and to avoid introducing an internal
transform in the view.
svn path=/trunk/; revision=19566
Diffstat (limited to 'gdk/quartz')
-rw-r--r-- | gdk/quartz/GdkQuartzWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/quartz/GdkQuartzWindow.c b/gdk/quartz/GdkQuartzWindow.c index d1ecbfdfa9..e8aca4c298 100644 --- a/gdk/quartz/GdkQuartzWindow.c +++ b/gdk/quartz/GdkQuartzWindow.c @@ -169,7 +169,7 @@ impl->width = content_rect.size.width; impl->height = content_rect.size.height; - [[self contentView] setBounds:NSMakeRect (0, 0, impl->width, impl->height)]; + [[self contentView] setFrame:NSMakeRect (0, 0, impl->width, impl->height)]; /* Synthesize a configure event */ event = gdk_event_new (GDK_CONFIGURE); |