mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 982640 - Port GTK2 to GTK3 - transparent widgets, r=karlt
Some widgets in Gtk3 are transparent so force gecko to paint underlying widget which is usually GtkWindow.
This commit is contained in:
parent
6f1a295d68
commit
6f60fb4cf1
@ -1468,10 +1468,10 @@ nsNativeThemeGTK::GetWidgetTransparency(nsIFrame* aFrame, uint8_t aWidgetType)
|
||||
{
|
||||
switch (aWidgetType) {
|
||||
// These widgets always draw a default background.
|
||||
#if (MOZ_WIDGET_GTK == 2)
|
||||
case NS_THEME_SCROLLBAR_TRACK_VERTICAL:
|
||||
case NS_THEME_SCROLLBAR_TRACK_HORIZONTAL:
|
||||
case NS_THEME_TOOLBAR:
|
||||
#if (MOZ_WIDGET_GTK == 2)
|
||||
case NS_THEME_MENUBAR:
|
||||
#endif
|
||||
case NS_THEME_MENUPOPUP:
|
||||
|
Loading…
Reference in New Issue
Block a user