]> Pileus Git - ~andy/gtk/commit
scrolledwindow: set GDK_EXPOSURE_MASK on the overshoot window
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 17 Oct 2012 04:59:59 +0000 (00:59 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 17 Oct 2012 13:56:49 +0000 (09:56 -0400)
commit4c9db152126c263aa985addb7d8111f4500f9ee3
treee261cce36c75b2563f320a1b5b69836a20db1104
parent5e55bf1d53c4135d454e2135706c1392407273e8
scrolledwindow: set GDK_EXPOSURE_MASK on the overshoot window

Currently we use gtk_style_context_set_background() when the state flags
change in order to propagate the background color to the overshoot
window, but this is actually only needed because the window doesn't get
expose events, since we always draw a full background in draw().
This also fixes some problems when the GdkWindow of the scrolled
window's child is composited, as seen in oxygen-gtk3.

https://bugzilla.gnome.org/show_bug.cgi?id=686265
gtk/gtkscrolledwindow.c