mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
abc
This commit is contained in:
parent
323092d3ce
commit
5817c917b6
1 changed files with 9 additions and 9 deletions
18
dwl.c
18
dwl.c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue