Bug 1432385 - Use window manager borders on LXQt, r?jhorak
MozReview-Commit-ID: JkyBMBovCIG
--- a/widget/gtk/nsWindow.cpp
+++ b/widget/gtk/nsWindow.cpp
@@ -6879,16 +6879,18 @@ nsWindow::GetCSDSupportLevel() {
} else if (strstr(currentDesktop, "i3") != nullptr) {
sCSDSupportLevel = CSD_SUPPORT_NONE;
} else if (strstr(currentDesktop, "MATE") != nullptr) {
sCSDSupportLevel = CSD_SUPPORT_FLAT;
} else if (strstr(currentDesktop, "Unity") != nullptr) {
sCSDSupportLevel = CSD_SUPPORT_FLAT;
} else if (strstr(currentDesktop, "Pantheon") != nullptr) {
sCSDSupportLevel = CSD_SUPPORT_FULL;
+ } else if (strstr(currentDesktop, "LXQt") != nullptr) {
+ sCSDSupportLevel = CSD_SUPPORT_FULL;
} else {
sCSDSupportLevel = CSD_SUPPORT_FLAT;
}
} else {
sCSDSupportLevel = CSD_SUPPORT_NONE;
}
// We don't support CSD_SUPPORT_FULL on Wayland