mousestate: fix nopoll on free
@@ -216,7 +216,7 @@ static void mousestate_reset(t_mousestate *x)
static void mousestate_free(t_mousestate *x)
{
- mousestate_nopoll(x);
+ if(x->x_ispolling == 1) mousestate_nopoll(x);
hammergui_unbindmouse((t_pd *)x);
}
