diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-08-13 13:51:23 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-08-13 13:51:23 +0200 |
commit | 9e618cc3f9a59038213aa8a91382a4c84315f569 (patch) | |
tree | 62a1ac64c4a6299e6ab787864ed3b97305acdecc /src/pies/defaultConfig.vala | |
parent | 394ad3b32f9f79775bcac4c6cc2a4dfa74586800 (diff) | |
parent | d98e3381ccbe703a6df8fad73b69546dd72a8705 (diff) |
Merge branch 'release/0.7.1-1'0.7.1-1
Diffstat (limited to 'src/pies/defaultConfig.vala')
-rw-r--r-- | src/pies/defaultConfig.vala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pies/defaultConfig.vala b/src/pies/defaultConfig.vala index 4041111..d832347 100644 --- a/src/pies/defaultConfig.vala +++ b/src/pies/defaultConfig.vala @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// Copyright (c) 2011-2016 by Simon Schneegans +// Copyright (c) 2011-2017 by Simon Schneegans // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -63,8 +63,10 @@ namespace Pies { window.add_action(new KeyAction(_("Restore"), "view-restore", "<Alt>F5")); // add a pie with window list group - var alt_tab = PieManager.create_persistent_pie("Alt Tab", "dock", new Trigger.from_string("<Control><Alt>T")); + if (GLib.Environment.get_variable("XDG_SESSION_TYPE") != "wayland") { + var alt_tab = PieManager.create_persistent_pie("Alt Tab", "preferences-system-windows", new Trigger.from_string("<Control><Alt>T")); alt_tab.add_group(new WindowListGroup(alt_tab.id)); + } // save the configuration to file Pies.save(); |