d96d41395e
This makes the editor setting act as if it's ignored when not
currently on a Wayland session.
(cherry picked from commit 8462c586bf)