Commit 1408bd9a authored by Benjamin Otte's avatar Benjamin Otte

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
parent 82e6e32c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment