diff options
author | Martin Stransky <stransky@redhat.com> | 2021-01-30 16:01:54 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-01-30 16:01:54 +0100 |
commit | fd235e9f29ca9bc8c010e6c5819cca855097c659 (patch) | |
tree | 7f21bc4469349c0806a561a2282cfa14d7f96c81 /firefox.sh.in | |
parent | Merge branch 'master' into f33 (diff) | |
parent | Enable Wayland backend on Fedora 34/KDE/Plasma (and other compositors) by def... (diff) | |
download | librewolf-fedora-ff-fd235e9f29ca9bc8c010e6c5819cca855097c659.tar.gz librewolf-fedora-ff-fd235e9f29ca9bc8c010e6c5819cca855097c659.tar.bz2 librewolf-fedora-ff-fd235e9f29ca9bc8c010e6c5819cca855097c659.zip |
Merge branch 'master' into f33
Diffstat (limited to 'firefox.sh.in')
-rw-r--r-- | firefox.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 6fc51b2..ca121a0 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -70,10 +70,13 @@ GETENFORCE_FILE="/usr/sbin/getenforce" ## ## Enable Wayland backend? ## -if __DEFAULT_WAYLAND__ && ! [ $MOZ_DISABLE_WAYLAND ]; then +if ! [ $MOZ_DISABLE_WAYLAND ]; then if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then export MOZ_ENABLE_WAYLAND=1 fi + if __DEFAULT_WAYLAND__ && [ "$XDG_SESSION_TYPE" = "wayland" ]; then + export MOZ_ENABLE_WAYLAND=1 + fi fi ## |