Bug 1417933 - enable CSD titlebar rendering mode as
Bug 1424974 regression is fixed, r?jhorak
MozReview-Commit-ID: 7SCjbJr9Arl
--- a/widget/gtk/nsLookAndFeel.cpp
+++ b/widget/gtk/nsLookAndFeel.cpp
@@ -1074,17 +1074,17 @@ nsLookAndFeel::EnsureInit()
GetSystemFontInfo(gtk_widget_get_style_context(entry),
&mFieldFontName, &mFieldFontStyle);
gtk_widget_destroy(window);
g_object_unref(labelWidget);
// Require GTK 3.10 for GtkHeaderBar support and compatible window manager.
mCSDAvailable = (gtk_check_version(3, 10, 0) == nullptr &&
- nsWindow::GetCSDSupportLevel() == nsWindow::CSD_SUPPORT_FULL);
+ nsWindow::GetCSDSupportLevel() != nsWindow::CSD_SUPPORT_NONE);
// We need to initialize whole CSD config explicitly because it's queried
// as -moz-gtk* media features.
mCSDCloseButton = true;
mCSDMaximizeButton = false;
mCSDMinimizeButton = false;
if (mCSDAvailable) {