my personal dwl config managed with pijul.

Line saver: LISTEN_STATIC macro

This parallels the LISTEN macro for statically allocated listeners, and it allows us to remove almost all of the global wl_listener declarations.

This also fixes a bug with the axisnotify listener, which was declared with a compound literal. At block scope, these have automatic storage duration 1, so the listener was no longer valid after setup() returned. (The option to declare it static explicitly was standardized in C23, if that ever gains suckless traction.)

ΔSLOC: -27

Created by  Devin J. Pohly  on July 3, 2023
YCC55JJHQR3BEO3ZTP6NVDKTFU4NNNJP2SW755QMMUAIEBMXXIRAC
Dependencies
In channels
main
Change contents