We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08782c7 commit 8e71cb6Copy full SHA for 8e71cb6
snap/hooks/configure
@@ -0,0 +1,7 @@
1
+#!/usr/bin/env bash
2
+set -eu
3
+
4
+wayland_native="$(snapctl get wayland-native)"
5
+if [[ -z "$wayland_native" ]]; then
6
+ snapctl set wayland-native=true
7
+fi
snap/launcher
@@ -2,7 +2,8 @@
if [ -n "$WAYLAND_DISPLAY" ] && \
[ "${DISABLE_WAYLAND:-0}" = 0 ] && \
- [ "${GDK_BACKEND:-wayland}" = "wayland" ]; then
+ [ "${GDK_BACKEND:-wayland}" = "wayland" ] && \
+ [ "$(snapctl get wayland-native)" != "false" ]; then
args="--enable-features=WaylandWindowDecorations --ozone-platform=wayland --use-gl=desktop"
8
fi
9
0 commit comments