forked from AuroraMiddleware/gtk
Add supports_native_bg to GdkWindowImpl
Backends that support native window background setting (and that clears new window areas to this color/pixmap) should set this to true. Currently only X11 supports this.
This commit is contained in:
parent
4cd5c98942
commit
39993f147f
@ -146,6 +146,7 @@ struct _GdkWindowImplIface
|
||||
void (* input_window_destroy) (GdkWindow *window);
|
||||
void (* input_window_crossing)(GdkWindow *window,
|
||||
gboolean enter);
|
||||
gboolean supports_native_bg;
|
||||
};
|
||||
|
||||
/* Interface Functions */
|
||||
|
@ -5604,6 +5604,7 @@ gdk_window_impl_iface_init (GdkWindowImplIface *iface)
|
||||
iface->destroy = _gdk_x11_window_destroy;
|
||||
iface->input_window_destroy = _gdk_input_window_destroy;
|
||||
iface->input_window_crossing = _gdk_input_crossing_event;
|
||||
iface->supports_native_bg = TRUE;
|
||||
}
|
||||
|
||||
#define __GDK_WINDOW_X11_C__
|
||||
|
Loading…
Reference in New Issue
Block a user