summaryrefslogtreecommitdiff
path: root/lib/sway/container.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/container.vala
parent7bec8a8f9bd8b0e0fa9a9997b48463765dc79a47 (diff)
make setter of properties private
Diffstat (limited to 'lib/sway/container.vala')
-rw-r--r--lib/sway/container.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sway/container.vala b/lib/sway/container.vala
index 414c902..fc11b76 100644
--- a/lib/sway/container.vala
+++ b/lib/sway/container.vala
@@ -1,11 +1,11 @@
namespace AstalSway {
public class Container : Node {
- public bool sticky;
- public bool floating;
- public bool focused;
- public string border;
- public int border_width;
- public int fullscreen_mode;
+ public bool sticky { get; private set; }
+ public bool floating { get; private set; }
+ public bool focused { get; private set; }
+ public string border { get; private set; }
+ public int border_width { get; private set; }
+ public int fullscreen_mode { get; private set; }
public float percent { get; private set; }
public Container() {