]> Pileus Git - ~andy/gtk/commit - gdk/gdkwindow.c
Make the default background for GdkWindows transparent
authorAlexander Larsson <alexl@redhat.com>
Thu, 9 Feb 2012 15:38:54 +0000 (16:38 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 9 Feb 2012 15:39:23 +0000 (16:39 +0100)
commitfed1cfb12293cc8995278d5657d0d49c742f416e
tree65015551dd03d79457406b8d802bc5c7c09bb97c
parent6723feae8a314b806ff783507182208107e08007
Make the default background for GdkWindows transparent

With the changes in default CSS to make the default background transparent
we ran into issues where intermediate GdkWindow (for instance the
view_window in GtkViewport) where we didn't set an explicit background
(because before they were always covered). So instead of showing throught
the transparent windows were showing the default backgroind of the intermediate
window (i.e. black).

With this change we also needed to fix GtkViewport, as it was previously
relying on the bin and view windows to cover widget->window so that the
border was not visible if shadow_type was NONE.
gdk/gdkwindow.c
gtk/gtkviewport.c