diff --git a/dwl.c b/dwl.c index fa8c8ae..8d32c08 100644 --- a/dwl.c +++ b/dwl.c @@ -643,8 +643,8 @@ buttonpress(struct wl_listener *listener, void *data) struct wlr_pointer_button_event *event = data; struct wlr_keyboard *keyboard; uint32_t mods; - Client *c; - LayerSurface *l; + Client *c = NULL; + LayerSurface *l = NULL; const Button *b; wlr_idle_notifier_v1_notify_activity(idle_notifier, seat);