diff options
Diffstat (limited to 'lib/sway/node.vala')
-rw-r--r-- | lib/sway/node.vala | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/sway/node.vala b/lib/sway/node.vala index 69cc0c1..4f6990b 100644 --- a/lib/sway/node.vala +++ b/lib/sway/node.vala @@ -1,30 +1,4 @@ namespace AstalSway { -public enum NodeType { - ROOT, - WORKSPACE, - CONTAINER, - WINDOW, - OUTPUT, - SCRATCHPAD -} - -public struct Rectangle { - public static Rectangle from_json(Json.Object obj) { - return Rectangle() { - x = (int)obj.get_int_member("x"), - y = (int)obj.get_int_member("y"), - width = (int)obj.get_int_member("width"), - height = (int)obj.get_int_member("height"), - }; - - } - - public int x; - public int y; - public int width; - public int height; -} - public class Node : Object { public int id {get; private set; } public bool urgent { get; private set; } |