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:
Richard Hult 2008-02-14 21:34:54 +00:00 committed by Richard Hult
parent 5737e8f78f
commit 59687608aa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style

View File

@ -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);