sway/sway
Ryan Dwyer c006717910 Minor refactor of input manager
The input manager is a singleton object. Passing the sway_input_manager
argument to each of its functions is unnecessary, while removing the
argument makes it obvious to the caller that it's a singleton. This
patch removes the argument and makes the input manager use server.input
instead.

On a similar note:

* sway_input_manager.server is removed in favour of using the server
global.
* seat.input is removed because it can get it from server.input.

Due to a circular dependency, creating seat0 is now done directly in
server_init rather than in input_manager_create. This is because
creating seats must be done after server.input is set.

Lastly, it now stores the default seat name using a constant and removes
a second reference to seat0 (in input_manager_get_default_seat).
2018-10-20 13:11:43 +10:00
..
commands Minor refactor of input manager 2018-10-20 13:11:43 +10:00
config swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
desktop Minor refactor of input manager 2018-10-20 13:11:43 +10:00
input Minor refactor of input manager 2018-10-20 13:11:43 +10:00
tree Minor refactor of input manager 2018-10-20 13:11:43 +10:00
commands.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
config.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
criteria.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10: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 Minor refactor of input manager 2018-10-20 13:11:43 +10:00
ipc-server.c Minor refactor of input manager 2018-10-20 13:11:43 +10: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 Minor refactor of input manager 2018-10-20 13:11:43 +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 cmd_bind{sym,code}: Implement per-device bindings 2018-10-18 13:42:01 -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