aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/dwl.c b/dwl.c
index 298440c..8dd2449 100644
--- a/dwl.c
+++ b/dwl.c
@@ -294,15 +294,6 @@ axisnotify(struct wl_listener *listener, void *data)
}
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)
{
struct wlr_event_pointer_button *event = data;
@@ -353,6 +344,15 @@ buttonpress(struct wl_listener *listener, void *data)
}
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)
{
struct xkb_context *context;