1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 09:12:09 +01:00
sway/swaybar
Milkey Mouse 45e4e92172 swaybar: add NULL check when listing workspaces
For some reason my version of sway doesn't show workspace names:

    $ swaymsg -t get_outputs
    Output HDMI-A-1 '(null) (null) (null)' (inactive)
    Output HDMI-A-2 '(null) (null) (null)' (inactive)

Which is weird, but it's no reason to crash swaybar. The field is
totally missing from the JSON, so it ends up doing strcmp(NULL, name)
which is undefined behavior.
2020-05-20 23:11:02 +02:00
..
tray tray: track SNI callbacks 2020-03-30 17:31:00 +02:00
bar.c swaybar: Fix scrolling with precise trackpads 2020-04-28 21:46:37 +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
meson.build
render.c interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY 2020-04-20 09:26:37 +02:00
status_line.c swaybar: fix i3bar relative coordinates when scaling is used 2020-02-10 18:58:09 +01:00
swaybar-protocol.7.scd Fix typo in swaybar-protocol.7.scd 2020-04-30 15:15:58 +02:00