1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-30 08:34:14 +01:00
sway-patched-tray-menu/sway
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
This introduces seat_set_raw_focus: a function that manipulates the
focus stack without doing any other behaviour whatsoever. There are a
few places where this is useful, such as where we set focus_inactive
followed by another call to set the real focus again. With this change,
the notify argument to seat_set_focus_warp is also removed as these
cases now use the raw function instead.

A bonus of this is we are no longer emitting window::focus IPC events
when setting focus_inactive, nor are we sending focus/unfocus events to
the surface.

This also fixes the following:

* When running `move workspace to output <name>` and moving the last
workspace from the source output, the workspace::focus IPC event is no
longer emitted for the newly created workspace.
* When splitting the currently focused container, unfocus/focus events
will not be sent to the surface when giving focus_inactive to the newly
created parent, and window::focus events will not be emitted.
2018-10-15 21:06:24 +10:00
..
commands Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp 2018-10-15 21:06:24 +10:00
config swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
desktop Fix pixel leaks when using fractional scaling 2018-10-12 22:36:11 +10:00
input Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp 2018-10-15 21:06:24 +10:00
tree Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp 2018-10-15 21:06:24 +10:00
commands.c Implement popup_during_fullscreen 2018-10-08 22:49:59 +10:00
config.c fix_edge_gaps: Allow negative values for outer gaps. 2018-10-13 17:42:49 +02:00
criteria.c Fix tiling criteria 2018-10-03 20:33:32 +10:00
debug-tree.c Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
decoration.c Rename view_set_csd_from_client to view_update_csd_from_client 2018-09-27 22:51:37 +10:00
ipc-json.c Implement bar bindsym 2018-10-09 08:12:46 -04:00
ipc-server.c swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
main.c Remove unnecessary comment 2018-10-13 20:51:29 -04:00
meson.build Implement popup_during_fullscreen 2018-10-08 22:49:59 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
sway-bar.5.scd swaybar: add documentation for hide/hidden_state subcommands 2018-10-14 13:33:12 +01:00
sway-input.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway-output.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.1.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00