sway/swaybar
Luke Drummond c22caa54a8 swaybar: ensure correct init order for status_line
`$WAYLAND_SOCKET` is unset by `wl_display_connect` after it has
successfully connected to the wayland socket.

However, subprocesses spawned by swaybar (status-command) don't have
access to waybar's fds as $WAYLAND_SOCKET is O_CLOEXEC. This means any
status command which itself tries to connect to wayland will fail if
this environment variable is set.

Reorder display and status-command initialization so that this variable
is not set and add an assert so we can enforce this invariant in future.
2020-06-12 14:45:40 +02:00
..
tray tray: track SNI callbacks 2020-03-30 17:31:00 +02:00
bar.c swaybar: ensure correct init order for status_line 2020-06-12 14:45:40 +02:00
config.c swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
i3bar.c swaybar: fix i3bar relative coordinates when scaling is used 2020-02-10 18:58:09 +01:00
input.c swaybar: Fix scrolling with precise trackpads 2020-04-28 21:46:37 +02:00
ipc.c swaybar: add NULL check when listing workspaces 2020-05-20 23:11:02 +02:00
main.c swaybar: prevent signal handler from firing during termination 2019-02-15 14:09:14 +00:00
meson.build
render.c interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY 2020-04-20 09:26:37 +02:00
status_line.c swaybar: ensure correct init order for status_line 2020-06-12 14:45:40 +02:00
swaybar-protocol.7.scd Fix typo in swaybar-protocol.7.scd 2020-04-30 15:15:58 +02:00