summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index 5347af6..443c2c4 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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