mirror of
https://github.com/swaywm/sway.git
synced 2026-02-10 04:27:54 -05:00
The [con_id=X] criteria selector was failing to match workspace nodes because criteria_get_containers() only iterated through containers, not workspaces. This broke scripts that rely on marking workspaces by their internal ID (a pattern that works in i3). Rename criteria_get_containers to criteria_get_nodes and extend it to also iterate over workspaces when con_id is specified. Workspaces only support con_id matching (not con_mark, since they don't have marks). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| desktop | ||
| input | ||
| tree | ||
| commands.h | ||
| config.h | ||
| criteria.h | ||
| decoration.h | ||
| ipc-json.h | ||
| ipc-server.h | ||
| layers.h | ||
| lock.h | ||
| output.h | ||
| scene_descriptor.h | ||
| server.h | ||
| sway_text_node.h | ||
| swaynag.h | ||
| xdg_decoration.h | ||
| xwayland.h | ||