Devin J. Pohly 2020-05-03 13:18:53 -05:00
parent 323092d3ce
commit 5817c917b6
1 changed files with 9 additions and 9 deletions

18
dwl.c
View File

@ -293,15 +293,6 @@ axisnotify(struct wl_listener *listener, void *data)
event->delta_discrete, event->source);
}
void
chvt(const Arg *arg)
{
struct wlr_session *s = wlr_backend_get_session(backend);
if (!s)
return;
wlr_session_change_vt(s, arg->ui);
}
void
buttonpress(struct wl_listener *listener, void *data)
{
@ -352,6 +343,15 @@ buttonpress(struct wl_listener *listener, void *data)
event->time_msec, event->button, event->state);
}
void
chvt(const Arg *arg)
{
struct wlr_session *s = wlr_backend_get_session(backend);
if (!s)
return;
wlr_session_change_vt(s, arg->ui);
}
void
createkeyboard(struct wlr_input_device *device)
{