Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Use custom env var to identify Wayland session + wayland GDK backend
Browse files Browse the repository at this point in the history
  • Loading branch information
glitsj16 authored Aug 29, 2019
1 parent f72ca73 commit 9d0431b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/bindingManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class BindingManager : GLib.Object {
/// Used to identify wayland sessions.
/////////////////////////////////////////////////////////////////////

private bool wayland = GLib.Environment.get_variable("XDG_SESSION_TYPE") == "wayland";
private bool wayland = GLib.Environment.get_variable("GNOME_PIE_DISPLAY_SERVER") == "wayland";

/////////////////////////////////////////////////////////////////////
/// Helper class to store keybinding
Expand Down

0 comments on commit 9d0431b

Please sign in to comment.