summaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2023-07-03 17:35:44 -0500
committerLeonardo Hernández <leohdz172@proton.me>2023-07-08 16:56:09 -0600
commit33bcd2e4ca892bb0b558660c99ed63a3dfdd9011 (patch)
treee9c5d0614b548e695db206fa0ad338ff51d6a478 /.github/ISSUE_TEMPLATE
parenta01e402c5dc2e9fe6af58e4921a1c28179e253b7 (diff)
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 [1]: https://en.cppreference.com/w/c/language/compound_literal#Explanation
Diffstat (limited to '.github/ISSUE_TEMPLATE')
0 files changed, 0 insertions, 0 deletions