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 83e318a commit 9c82ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionGroups/groupRegistry.vala
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public class GroupRegistry : GLib.Object {
/////////////////////////////////////////////////////////////////////

public static ActionGroup? create_group(string type_id, string parent_id) {
bool wayland = GLib.Environment.get_variable("XDG_SESSION_TYPE") == "wayland";
bool wayland = GLib.Environment.get_variable("GNOME_PIE_DISPLAY_SERVER") == "wayland";

switch (type_id) {
case "bookmarks":
Expand Down

0 comments on commit 9c82ab8

Please sign in to comment.