diff options
author | noname <[email protected]> | 2025-03-07 18:10:37 +1100 |
---|---|---|
committer | noname <[email protected]> | 2025-03-07 18:10:37 +1100 |
commit | 4b7e91493c900028dc6120d55005f51d5242be02 (patch) | |
tree | 9ef25a85758c2d54b85709d94641c1f04dc4148d /lib/sway/node.vala | |
parent | 7bec8a8f9bd8b0e0fa9a9997b48463765dc79a47 (diff) |
make setter of properties private
Diffstat (limited to 'lib/sway/node.vala')
-rw-r--r-- | lib/sway/node.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sway/node.vala b/lib/sway/node.vala index 13fbcd1..9a0332c 100644 --- a/lib/sway/node.vala +++ b/lib/sway/node.vala @@ -1,6 +1,6 @@ namespace AstalSway { public class Node : Object { - public int id {get; private set; } + public int id { get; private set; } public bool urgent { get; private set; } public string name { get; private set; } public string layout { get; private set; } @@ -8,7 +8,7 @@ public class Node : Object { public Rectangle rect { get; private set; } public Rectangle window_rect { get; private set; } public Rectangle deco_rect { get; private set; } - public NodeType node_type {get; protected set;} + public NodeType node_type { get; protected set;} public weak Node parent; |