summaryrefslogtreecommitdiff
path: root/lib/sway/window.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sway/window.vala')
-rw-r--r--lib/sway/window.vala20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/sway/window.vala b/lib/sway/window.vala
index f0e2f9a..012e76e 100644
--- a/lib/sway/window.vala
+++ b/lib/sway/window.vala
@@ -1,23 +1,23 @@
namespace AstalSway {
- public class Window : Container {
+public class Window : Container {
public string app_id;
public string shell;
public int pid;
public bool visible;
public bool inhibit_idle;
-
+
public Window() {
- node_type = NodeType.WINDOW;
+ node_type = NodeType.WINDOW;
}
internal override void sync(Json.Object obj) {
- app_id = obj.get_string_member("app_id");
- shell = obj.get_string_member("shell");
- pid = (int)obj.get_int_member("pid");
- visible = obj.get_boolean_member("visible");
- inhibit_idle = obj.get_boolean_member("inhibit_idle");
- base.sync(obj);
+ app_id = obj.get_string_member("app_id");
+ shell = obj.get_string_member("shell");
+ pid = (int)obj.get_int_member("pid");
+ visible = obj.get_boolean_member("visible");
+ inhibit_idle = obj.get_boolean_member("inhibit_idle");
+ base.sync(obj);
}
- }
+}
}