mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
gdk: Don't (un)set the background when destroying a window.
This previously caused the x11 code to do a XSetWindowBackgroundPixmap call on a window that was about to be destroyed. And that's not really useful. https://bugzilla.gnome.org/show_bug.cgi?id=630864
This commit is contained in:
parent
82e6e32c77
commit
1408bd9a37
@ -1983,8 +1983,6 @@ _gdk_window_destroy_hierarchy (GdkWindow *window,
|
||||
|
||||
gdk_window_free_paint_stack (window);
|
||||
|
||||
gdk_window_set_background_pattern (window, NULL);
|
||||
|
||||
if (private->background)
|
||||
{
|
||||
cairo_pattern_destroy (private->background);
|
||||
|
Loading…
Reference in New Issue
Block a user