swayfx/include
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
..
sway Fix reload freeze when not modsetting current mode 2019-02-16 23:37:36 +01:00
swaybar swaybar: prevent signal handler from firing during termination 2019-02-15 14:09:14 +00:00
swaynag Implement swaynag -B/--button-no-terminal 2018-11-27 23:34:51 -05:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h Removed unused wlroots dependency for sway(bg|bar|msg|nag) 2019-01-21 13:04:15 -05:00
ipc-client.h swaybar: move core functionality to state.c 2016-01-24 14:22:19 +01:00
ipc.h Add failure reply on IPC_SYNC 2018-12-29 17:07:26 +01:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
stringop.h stringop.c: rewrite strip_whitespace 2019-01-01 09:01:24 +00:00
util.h util.c: remove numlen function 2019-01-22 13:10:25 +01:00