mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
When creating native window, set the native background
This commit is contained in:
parent
959d940812
commit
40827b99db
@ -1171,6 +1171,10 @@ gdk_window_set_has_native (GdkWindow *window, gboolean has_native)
|
||||
recompute_visible_regions (private, FALSE, FALSE);
|
||||
|
||||
reparent_to_impl (private);
|
||||
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->set_background (window, &private->bg_color);
|
||||
if (private->bg_pixmap != NULL)
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->set_back_pixmap (window, private->bg_pixmap);
|
||||
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->input_shape_combine_region ((GdkWindow *)private, private->input_shape, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user