Skip to content

Commit

Permalink
Default to wayland backend for emacsclient too
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 Jan 7, 2025
1 parent 7aa8385 commit 74174fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions emacsclient
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,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 74174fe

Please sign in to comment.