Skip to content

Commit

Permalink
Default to wayland for pgtk build
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Nov 28, 2024
1 parent 203650e commit 39c6840
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions emacs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
# toolkit to use by checking if the XDG_SESSION_TYPE environment variable is
# set to wayland or x11.

# FIXME - remove the following once the various issues like
# https://github.com/alexmurray/emacs-snap/issues/78 and
# https://github.com/alexmurray/emacs-snap/issues/79 are resolved
: "${EMACS_TOOLKIT:=gtk}"

if [ -n "${XDG_SESSION_TYPE}" ]; then
if [ "${XDG_SESSION_TYPE}" = "wayland" ]; then
: "${EMACS_TOOLKIT:=wayland}"
Expand Down

0 comments on commit 39c6840

Please sign in to comment.