• Cosimo Cecchi's avatar
    viewport: don't render a background over the bin window · 09835b4c
    Cosimo Cecchi authored
    GtkViewport currently tries to draw a background over the bin window.
    The feature is a bit broken at the moment, as it does not take into
    account padding that might have been set on the GtkViewport, but in
    general it does not seem very useful, and goes somewhat against the CSS
    box model where every widget/gadget is responsible to draw its own
    background. For a fix, we could either have the viewport gain a "bin"
    gadget, or we could stop drawing the background.
    As it isn't clear that there are any users of this feature, stop drawing
    the background; a client can achieve the same effect by drawing the
    background on the widget inside the viewport itself.
gtkviewport.c 34.3 KB