mirror of
https://github.com/swaywm/sway.git
synced 2026-02-12 04:28:25 -05:00
Previously we would compare the last focus's workspace with the new focus's workspace to determine if we need to emit an IPC workspace::focus event. This doesn't work when moving the focused container to a new workspace. This adds a workspace property to the seat which stores the last emitted workspace::focus workspace. Using this method, after moving the container, refocusing it will trigger exactly one workspace::focus event: from the old workspace to the new workspace. |
||
|---|---|---|
| .. | ||
| desktop | ||
| input | ||
| tree | ||
| commands.h | ||
| config.h | ||
| criteria.h | ||
| debug.h | ||
| decoration.h | ||
| desktop.h | ||
| ipc-json.h | ||
| ipc-server.h | ||
| layers.h | ||
| output.h | ||
| security.h | ||
| server.h | ||
| swaynag.h | ||
| xdg_decoration.h | ||
| xwayland.h | ||