summaryrefslogtreecommitdiff
path: root/lib/sway/node.vala
diff options
context:
space:
mode:
authornoname <[email protected]>2025-03-07 18:10:37 +1100
committernoname <[email protected]>2025-03-07 18:10:37 +1100
commit4b7e91493c900028dc6120d55005f51d5242be02 (patch)
tree9ef25a85758c2d54b85709d94641c1f04dc4148d /lib/sway/node.vala
parent7bec8a8f9bd8b0e0fa9a9997b48463765dc79a47 (diff)
make setter of properties private
Diffstat (limited to 'lib/sway/node.vala')
-rw-r--r--lib/sway/node.vala4
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;