Skip to content

Commit

Permalink
Default to wayland backend when available for emacs-30
Browse files Browse the repository at this point in the history
I can't reproduce either of the aforementioned issues anymore with emacs 30 and
the current pgtk build etc so making this the default.

Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Jan 6, 2025
1 parent 8291b0d commit 7aa8385
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 7aa8385

Please sign in to comment.