Recompute abs_x/y before reparenting windows due to new native window parent

This commit is contained in:
Alexander Larsson 2008-12-18 21:30:56 +01:00 committed by Alexander Larsson
parent acf1954f12
commit c8bdac7508

View File

@ -1141,6 +1141,8 @@ gdk_window_set_has_native (GdkWindow *window, gboolean has_native)
_gdk_window_impl_new (window, (GdkWindow *)private->parent, screen, visual,
get_native_event_mask (private), &attributes, GDK_WA_COLORMAP);
new_impl = private->impl;
recompute_visible_regions (private, FALSE, FALSE);
private->impl = old_impl;
change_impl (private, new_impl);