Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 8 (unreleased)

## `spatial`

- Fix `dockarea not a correct value` error.

# 7 (2024-01-21)

## `spatialmsg`
Expand Down
3 changes: 2 additions & 1 deletion lib/sway_ipc_types/node.ml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let fullscreen_mode_decoder =
| 2L -> Global_fullscreen
| _ -> raise (Invalid_argument "fullscreen_mode_decoder")

type node_type = Root | Output | Workspace | Con | Floating_con
type node_type = Root | Output | Workspace | Con | Floating_con | Dockarea

let node_type_decoder =
Ezjsonm_encoding.Decoding.string_enum
Expand All @@ -29,6 +29,7 @@ let node_type_decoder =
("workspace", Workspace);
("con", Con);
("floating_con", Floating_con);
("dockarea", Dockarea);
]

type border = Normal | None | Pixel | Csd
Expand Down