mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
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
3
dwl.c
3
dwl.c
|
@ -600,8 +600,7 @@ 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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue