diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-16 23:29:40 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 11:03:33 -0600 |
commit | 1044a21555776969d9e3d72bbb2fff2bc0f90eb1 (patch) | |
tree | 8aa92f7b68b3e522ed947e80b50813084e035351 | |
parent | 6bcd5d8d87a972f72e23f37b94cc59d77d76c4cc (diff) |
do not check if `session` is non-NULL
wlr_session_change_vt() is a no-op if session == NULL
-rw-r--r-- | dwl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |