aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/config.h4
-rw-r--r--include/rootston/input.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index ecbdd88b..75c04619 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -9,6 +9,10 @@ struct output_config {
enum wl_output_transform transform;
int x, y;
struct wl_list link;
+ struct {
+ int width, height;
+ float refresh_rate;
+ } mode;
};
struct device_config {
diff --git a/include/rootston/input.h b/include/rootston/input.h
index b9af5028..5cd7509e 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -16,6 +16,7 @@ struct roots_keyboard {
struct roots_input *input;
struct wlr_input_device *device;
struct wl_listener key;
+ struct wl_listener modifiers;
struct wl_list link;
xkb_keysym_t pressed_keysyms[ROOTS_KEYBOARD_PRESSED_KEYSYMS_CAP];