Bug 1664496 [KDE] Disable hidden system titlebar by default on KDE, r=jhorak

Differential Revision: https://phabricator.services.mozilla.com/D89933
This commit is contained in:
stransky
2020-09-14 13:59:46 +00:00
parent 61f2c6ed60
commit c21913a01f

View File

@@ -7871,12 +7871,6 @@ bool nsWindow::HideTitlebarByDefault() {
return hideTitlebar;
}
// We hide system titlebar on KDE on recent enough systems.
if (gtk_check_version(3, 24, 0) == nullptr &&
strstr(currentDesktop, "KDE") != nullptr) {
return hideTitlebar;
}
// Don't hide system titlebar by default for other desktops.
hideTitlebar = false;
return hideTitlebar;