sway-patched-tray-menu/sway
Brian Ashworth 272ca06171 Fix reload freeze when not modsetting current mode
This fixes the issue of the display freezing on reload with
wlroots#1545.

On master, all output configs are applied on reload. This may cause an
output to have its config applied up to three times, instead of just
once. The three cases are: output name, output identifier, and wildcard.
Not only is this inefficient, but it can cause swaybg to be spawned and
immediately killed.

However, swaybg requires two roundtrips of wl_display (to obtain needed
globals) before it enters its normal event loop. Modesetting will
roundtrip the wl_display. Without modesetting, waitpid for killing
swaybg could block infinitely due to swaybg being blocked by
wl_display_roundtrip.

This only configured an output once. It either uses the wildcard config
or creates an empty wildcard config and applies that. This also fixes a
bug where an output would not be reset when there is no output config to
apply to it.
2019-02-16 23:37:36 +01:00
..
commands Don't remove from scratchpad on move to workspace 2019-02-12 23:47:10 -05:00
config Fix reload freeze when not modsetting current mode 2019-02-16 23:37:36 +01:00
desktop Rebase cursor when a layer surface maps 2019-02-12 22:57:23 +01:00
input Check layout before getting pointer surface coords 2019-02-16 21:46:19 +01:00
tree seat: allow tree focus changes while layer focused 2019-02-14 11:01:08 +01:00
commands.c Fix quote stripping 2019-02-05 07:15:25 -05:00
config.c Fix reload freeze when not modsetting current mode 2019-02-16 23:37:36 +01:00
criteria.c Revert "Add some missing frees." 2019-02-01 11:51:03 +00:00
debug-tree.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc: handle unnamed xkb_active_layout_name 2019-02-11 01:07:11 +01:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-06 15:16:48 +01:00
main.c Abort early when XDG_RUNTIME_DIR is not set 2019-02-11 10:11:41 +01:00
meson.build pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add relative pointer 2019-01-30 19:53:59 +01:00
sway-bar.5.scd Updates for scdoc 1.8.1 2019-01-31 08:42:29 -05:00
sway-input.5.scd cmd_seat: allow - to be used as alias for current 2019-02-02 22:02:28 -05:00
sway-output.5.scd Document cursor moving between adjacent outputs 2019-01-28 21:36:48 -05:00
sway.1.scd Remove unnecessary underscores in man pages 2019-01-27 11:27:48 -05:00
sway.5.scd pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00