mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Make _gdk_x11_window_tmp_unset_parent_bg not change above the toplevel window
This commit is contained in:
parent
905d328933
commit
5fa1855a83
@ -314,8 +314,11 @@ _gdk_x11_window_tmp_unset_parent_bg (GdkWindow *window,
|
||||
{
|
||||
GdkWindowObject *private;
|
||||
private = (GdkWindowObject*) window;
|
||||
_gdk_x11_window_tmp_unset_bg (_gdk_window_get_impl_window ((GdkWindow *)private->parent),
|
||||
recurse);
|
||||
|
||||
if (GDK_WINDOW_TYPE (private->parent) != GDK_WINDOW_ROOT)
|
||||
window = _gdk_window_get_impl_window ((GdkWindow *)private->parent);
|
||||
|
||||
_gdk_x11_window_tmp_unset_bg (window, recurse);
|
||||
}
|
||||
|
||||
void
|
||||
@ -355,8 +358,11 @@ _gdk_x11_window_tmp_reset_parent_bg (GdkWindow *window,
|
||||
{
|
||||
GdkWindowObject *private;
|
||||
private = (GdkWindowObject*) window;
|
||||
_gdk_x11_window_tmp_reset_bg (_gdk_window_get_impl_window ((GdkWindow *)private->parent),
|
||||
recurse);
|
||||
|
||||
if (GDK_WINDOW_TYPE (private->parent) != GDK_WINDOW_ROOT)
|
||||
window = _gdk_window_get_impl_window ((GdkWindow *)private->parent);
|
||||
|
||||
_gdk_x11_window_tmp_reset_bg (window, recurse);
|
||||
}
|
||||
|
||||
static GdkColormap*
|
||||
|
Loading…
Reference in New Issue
Block a user