Skip to content

Commit

Permalink
Fix dockarea not a correct value error
Browse files Browse the repository at this point in the history
  • Loading branch information
lthms committed Jan 24, 2024
1 parent b1c7782 commit 7102d8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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

0 comments on commit 7102d8e

Please sign in to comment.