forked from AuroraMiddleware/gtk
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);
|
recompute_visible_regions (private, FALSE, FALSE);
|
||||||
|
|
||||||
reparent_to_impl (private);
|
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);
|
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