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/window.vala | |
parent | 7bec8a8f9bd8b0e0fa9a9997b48463765dc79a47 (diff) |
make setter of properties private
Diffstat (limited to 'lib/sway/window.vala')
-rw-r--r-- | lib/sway/window.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sway/window.vala b/lib/sway/window.vala index 012e76e..651e593 100644 --- a/lib/sway/window.vala +++ b/lib/sway/window.vala @@ -1,10 +1,10 @@ namespace AstalSway { public class Window : Container { - public string app_id; - public string shell; - public int pid; - public bool visible; - public bool inhibit_idle; + public string app_id { get; private set; } + public string shell { get; private set; } + public int pid { get; private set; } + public bool visible { get; private set; } + public bool inhibit_idle { get; private set; } public Window() { node_type = NodeType.WINDOW; |