aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-05 13:12:29 -0400
committerGitHub <noreply@github.com>2017-10-05 13:12:29 -0400
commitd74a6d254fd1934ca6ca9439b66ea65e6b389822 (patch)
treee09e3e5085053e7c6b368acb2e09f5fd5eb05e05 /include
parentcec012019f6146b1376bb787dc96b73c7de82266 (diff)
parent1a775adbde0ba81e6dcd2878a660a1386a8f972f (diff)
Merge pull request #198 from emersion/rootston-move-resize-rotate
rootston: force move, resize and rotate
Diffstat (limited to 'include')
-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 ece11829..545b6742 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -33,6 +33,10 @@ struct roots_config {
struct wlr_box *mapped_box;
} cursor;
+ struct {
+ uint32_t meta_key;
+ } keyboard;
+
struct wl_list outputs;
struct wl_list devices;
struct wl_list bindings;
diff --git a/include/rootston/input.h b/include/rootston/input.h
index f7cd2929..ae3e3b80 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -84,6 +84,7 @@ struct roots_input {
struct roots_view *active_view;
int offs_x, offs_y;
int view_x, view_y, view_width, view_height;
+ float view_rotation;
uint32_t resize_edges;
// Ring buffer of input events that could trigger move/resize/rotate