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
This commit is contained in:
committed by
Richard Hult
parent
5737e8f78f
commit
59687608aa
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user