diff options
Diffstat (limited to 'lib/sway/sway.vala')
-rw-r--r-- | lib/sway/sway.vala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sway/sway.vala b/lib/sway/sway.vala index f6c20b4..b92d8da 100644 --- a/lib/sway/sway.vala +++ b/lib/sway/sway.vala @@ -37,14 +37,15 @@ public class Sway : Object { }); } - public Workspace focused_workspace; - public Output focused_output; - public Container? focused_container; + public Workspace focused_workspace { get; private set; } + public Output focused_output { get; private set; } + public Container? focused_container { get; private set; } private static HashTable<int, Node> _nodes = new HashTable<int, Node>(i => i, (a,b) => a==b); public List<weak Node> nodes { owned get { return _nodes.get_values(); } } + public List<weak Node> node_test { owned get { return nodes; } } private HashTable<string, Workspace> _workspaces = new HashTable<string, Workspace>(str_hash, str_equal); |