swayfx/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.c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp 2018-10-15 21:06:24 +10:00
input-manager.c Add libinput send_events config for touch 2018-10-10 23:15:31 +02:00
keyboard.c swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
seat.c Prevent duplicate workspace::focus events 2018-10-16 08:17:24 +10:00