Bug 1800368 - Disable panel animations on Wayland for regressions. r=stransky

I don't have time to dig into them right now so disable there for now.

I could repro the flickering on Arch Linux, but I couldn't repro the
incorrectly-transparent popup or the incorrectly-open extension popup...

Differential Revision: https://phabricator.services.mozilla.com/D162240
This commit is contained in:
Emilio Cobos Álvarez 2022-11-17 15:26:46 +00:00
Родитель 2f5572a9aa
Коммит 3c1ba0605d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -982,7 +982,8 @@ nsresult nsLookAndFeel::NativeGetInt(IntID aID, int32_t& aResult) {
}
case IntID::PanelAnimations:
// Disabled on systems without CSD, see bug 1385079.
aResult = sCSDAvailable;
// Disabled on wayland, see bug 1800442 and bug 1800368.
aResult = sCSDAvailable && !GdkIsWaylandDisplay();
break;
case IntID::UseOverlayScrollbars: {
aResult = StaticPrefs::widget_gtk_overlay_scrollbars_enabled();