do not check if session
is non-NULL
wlr_session_change_vt() is a no-op if session == NULL
This commit is contained in:
parent
6bcd5d8d87
commit
1044a21555
1 changed files with 1 additions and 2 deletions
1
dwl.c
1
dwl.c
|
@ -600,7 +600,6 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
void
|
void
|
||||||
chvt(const Arg *arg)
|
chvt(const Arg *arg)
|
||||||
{
|
{
|
||||||
if (session)
|
|
||||||
wlr_session_change_vt(session, arg->ui);
|
wlr_session_change_vt(session, arg->ui);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue