diff --git a/gdk/quartz/GdkQuartzWindow.c b/gdk/quartz/GdkQuartzWindow.c index dcd725044c..df8f5722a9 100644 --- a/gdk/quartz/GdkQuartzWindow.c +++ b/gdk/quartz/GdkQuartzWindow.c @@ -166,6 +166,11 @@ private->width = content_rect.size.width; private->height = content_rect.size.height; + /* Certain resize operations (e.g. going fullscreen), also move the + * origin of the window. + */ + _gdk_quartz_window_update_position (window); + [[self contentView] setFrame:NSMakeRect (0, 0, private->width, private->height)]; _gdk_window_update_size (window);