swayfx/include/sway/input
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
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.
2018-10-16 08:17:24 +10:00
..
cursor.h Fix focusing topmost floating windows 2018-10-03 16:23:14 +02:00
input-manager.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
keyboard.h Bindings use advised keyboard repeat parameters 2018-07-29 19:15:10 -04:00
seat.h Prevent duplicate workspace::focus events 2018-10-16 08:17:24 +10:00