Commit d7ac9cd7 authored by Matthias Clasen's avatar Matthias Clasen

Revert "gdk: Make background changes queue a repaint"

This reverts commit 254b9a4c.
parent d0aa7ffc
......@@ -8004,15 +8004,11 @@ gdk_window_set_background (GdkWindow *window,
}
if (!GDK_WINDOW_DESTROYED (window) &&
gdk_window_has_impl (private) &&
!private->input_only)
{
if (gdk_window_has_impl (private))
{
impl_iface = GDK_WINDOW_IMPL_GET_IFACE (private->impl);
impl_iface->set_background (window, &private->bg_color);
}
else
gdk_window_invalidate_rect_full (window, NULL, TRUE, CLEAR_BG_ALL);
impl_iface = GDK_WINDOW_IMPL_GET_IFACE (private->impl);
impl_iface->set_background (window, &private->bg_color);
}
}
......@@ -8081,15 +8077,11 @@ gdk_window_set_back_pixmap (GdkWindow *window,
private->bg_pixmap = GDK_NO_BG;
if (!GDK_WINDOW_DESTROYED (window) &&
gdk_window_has_impl (private) &&
!private->input_only)
{
if (gdk_window_has_impl (private))
{
impl_iface = GDK_WINDOW_IMPL_GET_IFACE (private->impl);
impl_iface->set_back_pixmap (window, private->bg_pixmap);
}
else
gdk_window_invalidate_rect_full (window, NULL, TRUE, CLEAR_BG_ALL);
impl_iface = GDK_WINDOW_IMPL_GET_IFACE (private->impl);
impl_iface->set_back_pixmap (window, private->bg_pixmap);
}
}
......
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