aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authorRyan Walklin <ryan@testtoast.com>2018-11-28 20:03:42 +0000
committerRyan Walklin <ryan@crackotage.local>2018-12-15 14:42:35 +1100
commit810c7b700cfb381457ad1e5a07f184f4efdcc5d1 (patch)
treee7f909e9bac6ab8acaa6d5540a534088084fdebd /include/rootston/seat.h
parent62a9cf87fafdbc5f271ea1489f3d3f6bd7288b6e (diff)
Working switches in rootston:
Factor out switch handling to separate file Add formal enum for toggle action Implement binding actions
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r--include/rootston/seat.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index 7e6b63bf..105ba3aa 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -5,6 +5,7 @@
#include "rootston/input.h"
#include "rootston/keyboard.h"
#include "rootston/layers.h"
+#include "rootston/switch.h"
#include "rootston/text_input.h"
struct roots_seat {
@@ -75,15 +76,6 @@ struct roots_pointer {
struct wl_list link;
};
-struct roots_switch {
- struct roots_seat *seat;
- struct wlr_input_device *device;
- struct wl_listener device_destroy;
-
- struct wl_listener toggle;
- struct wl_list link;
-};
-
struct roots_touch {
struct roots_seat *seat;
struct wlr_input_device *device;