yambar/modules
Daniel Eklöf 028011a816
module/sway-xkb: don’t add the “same” device multiple times
Not sure if Sway bug or not, but we’ve seen Sway presenting multiple
input devices with the exact same ID (and nothing else differentiating
them).

This caused a crash in the sway-xkb module, since we didn’t check if
we were already tracking the device, and thus bumped the
“num_existing_inputs” variable multiple times for the same input
object.

This lead to a content() returning an array with uninitialized
elements, and thus a crash.

Closes #229
2022-10-04 21:16:56 +02:00
..
alsa.c module/alsa: use channel’s dB range instead of raw volume, if available 2022-06-21 19:49:06 +02:00
backlight.c module/backlight: handle poll() failures 2021-12-17 11:23:59 +01:00
battery.c module/battery: handle poll() failures 2021-12-17 11:25:37 +01:00
clock.c module/clock: handle poll() failures 2021-12-17 11:55:31 +01:00
cpu.c modules: use portable function to count cpus 2022-06-23 14:11:07 +02:00
disk-io.c modules: creates disk-io-module 2022-06-17 12:04:13 -03:00
foreign-toplevel.c foreign-toplevel: refresh the bar when a top-level is closed 2021-10-17 09:52:28 +02:00
i3-common.c module/i3-common: fix compilation warning with asan 2020-07-07 14:06:29 +02:00
i3-common.h modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-ipc.h module/i3: use our own copy of i3/ipc.h 2019-03-31 12:08:44 +02:00
i3.c module/i3: if a new workspace is created, but unfocused, assume it’s not empty 2022-06-11 11:59:41 +02:00
label.c modules: implement description() 2021-06-20 21:15:24 +02:00
mem.c modules: add mem module 2021-12-21 18:44:14 +01:00
meson.build meson: add missing dependencies on wayland_client 2022-07-02 23:21:38 +02:00
mpd.c module/mpd: add “file” tag 2022-09-03 12:12:11 +02:00
network.c module/network: resurrect SSID 2022-09-10 13:46:34 +02:00
removables.c module/removables: open /proc/self/mountinfo with CLOEXEC 2022-03-29 18:21:44 +02:00
river.c module/river: fix “use of uninitialized variable” warning 2022-10-03 09:52:44 +02:00
script.c module/script: process *all* transactions received in a single read() 2022-09-03 12:09:30 +02:00
sway-xkb.c module/sway-xkb: don’t add the “same” device multiple times 2022-10-04 21:16:56 +02:00
xkb.c module/xkb: handle poll() failures 2021-12-17 11:55:38 +01:00
xwindow.c module/xwindow: handle poll() failures 2021-12-17 11:55:38 +01:00