~ruther/dwl

1044a21555776969d9e3d72bbb2fff2bc0f90eb1 — Leonardo Hernández Hernández 1 year, 6 months ago 6bcd5d8
do not check if `session` is non-NULL

wlr_session_change_vt() is a no-op if session == NULL
1 files changed, 1 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -2
@@ 600,8 600,7 @@ buttonpress(struct wl_listener *listener, void *data)
void
chvt(const Arg *arg)
{
	if (session)
		wlr_session_change_vt(session, arg->ui);
	wlr_session_change_vt(session, arg->ui);
}

void

Do not follow this link