sway/include/sway
Claude Code b48239588f
feat(workspace): add marks support to workspaces
Workspaces can now have marks just like containers. This enables the
pattern of marking a workspace with [con_id=X] and then using
"move container to mark" to reparent containers to workspaces.

Changes:
- Add marks list to sway_workspace struct
- Add workspace_has_mark, workspace_add_mark, workspace_clear_marks,
  workspace_find_and_unmark, workspace_find_mark functions
- Update mark command to work on workspaces when targeted via criteria
- Update unmark command to support workspaces
- Update move.c to find marks on workspaces for "move to mark"
- Update criteria con_mark matching to also check workspaces
- Add workspace marks to IPC JSON output

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 14:40:26 +00:00
..
desktop Revert "sway/tree: Simplify sway_node teardown" 2025-06-28 11:26:49 +02:00
input input/text_input: remove event listeners on destroy 2025-04-13 23:40:56 +02:00
tree feat(workspace): add marks support to workspaces 2025-12-27 14:40:26 +00:00
commands.h Add support for HDR10 output 2025-07-09 01:25:11 +02:00
config.h Add support for HDR10 output 2025-07-09 01:25:11 +02:00
criteria.h fix(criteria): allow con_id to match workspaces 2025-12-27 14:40:26 +00:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.h sway: add non-desktop outputs to json when running swaymsg -t get_outputs 2022-09-19 07:26:45 -04:00
ipc-server.h ipc: add support for output event 2023-02-01 11:32:57 -05:00
layers.h Drop sway_output.events.disable 2025-07-02 21:21:53 +02:00
lock.h ext-session-lock: Do not use commit listener to arrange 2024-09-20 00:26:36 -04:00
output.h Add features.hdr to output IPC response 2025-07-09 01:25:11 +02:00
scene_descriptor.h scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
server.h Wire up xdg-toplevel-tag-v1 2025-07-16 10:03:09 +02:00
sway_text_node.h Introduce sway_text_node 2024-01-18 18:36:54 +03:00
swaynag.h swaynag: add printf attribute to swaynag_log() 2023-04-14 18:34:54 +02:00
xdg_decoration.h xdg-shell: chase events update 2023-11-23 19:41:57 +01:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00