swayfx/sway
Brian Ashworth 51c077798c Destroy swaybg client on reload
When reloading, this destroys the old config's swaybg client before
spawning the new config's swaybg. This fixes a race condition where the
old config's swaybg client's destroy was being called after the new
config's swaybg client was being spawned. This was causing the
reference to the new swaybg client to be removed and never destroyed.

This also modifies handle_swaybg_client_destroy to grab the config
reference using wl_container_of on the listener since the swaybg client
may be the old config swaybg client and should be used instead of the
global config instance
2019-05-04 09:06:43 +03:00
..
commands cmd_move: add support for output current 2019-04-30 15:22:02 -06:00
config Destroy swaybg client on reload 2019-05-04 09:06:43 +03:00
desktop Don't submit too much damage 2019-04-27 09:50:49 -06:00
input Fix a silly mistake 2019-04-28 21:07:47 +03:00
tree cmd_move: respect workspace layout when inserting 2019-04-24 19:12:24 -06:00
commands.c Add unbindswitch command 2019-04-17 23:29:43 -04:00
config.c Destroy swaybg client on reload 2019-05-04 09:06:43 +03:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Send disabled output available modes on IPC get_outputs 2019-04-16 00:16:20 -04:00
ipc-server.c Fix the payload type returned by IPC 2019-04-16 23:48:44 -04:00
main.c Remove extra inclusion of stdio.h 2019-04-27 20:53:21 -06:00
meson.build swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd Add unbindsym/unbindcode command for swaybar 2019-04-17 23:29:43 -04:00
sway-input.5.scd Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
sway-ipc.7.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway-output.5.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd sway.5.scd: clarify workspace config commands 2019-04-30 21:38:00 -06:00
swaynag.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00