aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-05-03 13:18:53 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-05-03 13:18:53 -0500
commit5817c917b6ed55615ca476d0a46e7db5879399e5 (patch)
tree37b0b7f8c6b7825e60aaede43253ab02228133b0 /dwl.c
parent323092d3ce657b0ec6dda78e87351da85d7ef3e4 (diff)
abc
Diffstat (limited to 'dwl.c')
-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;