mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
05284b65db
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. |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaylock | ||
swaynag | ||
background-image.h | ||
cairo.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
readline.h | ||
stringop.h | ||
unicode.h | ||
util.h |