mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1414774 - Initialize sCSDCloseButton/sCSDMaximizeButton/sCSDMinimizeButton, r=jhorak
MozReview-Commit-ID: 10Yk1gFu0Vk --HG-- extra : rebase_source : 2fbe514f920e85cb5a857a0f5293edd4f023db06
This commit is contained in:
parent
78338236d0
commit
8d2317143c
@ -1084,6 +1084,12 @@ nsLookAndFeel::EnsureInit()
|
||||
false);
|
||||
}
|
||||
|
||||
// We need to initialize whole CSD config explicitly because it's queried
|
||||
// as -moz-gtk* media features.
|
||||
sCSDCloseButton = false;
|
||||
sCSDMaximizeButton = false;
|
||||
sCSDMinimizeButton = false;
|
||||
|
||||
if (sCSDAvailable) {
|
||||
static auto sGtkHeaderBarGetDecorationLayoutPtr =
|
||||
(const gchar* (*)(GtkWidget*))
|
||||
|
Loading…
Reference in New Issue
Block a user