~ruther/dwl

50aa44c59b97c59f08dc482fa9d93bd1dc281ab0 — Devin J. Pohly 4 years ago 4e57dbd
add tag bitset check from dwm
1 files changed, 3 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -0
@@ 274,6 274,9 @@ static struct wl_listener xwayland_ready = {.notify = xwaylandready};
/* configuration, allows nested code to access above variables */
#include "config.h"

/* compile-time check if all tags fit into an unsigned int bit array. */
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };

/* function implementations */
void
activatex11(struct wl_listener *listener, void *data)

Do not follow this link