aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/input.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-08 12:51:42 -0400
committerGitHub <noreply@github.com>2017-10-08 12:51:42 -0400
commit8dcf3bfdf786ceb2614d4cf572ef6747cd4bb94c (patch)
tree762bde8fa6fca8e1faa342b7965ba7e44b61ab99 /include/rootston/input.h
parent9e1ff2dce9eded87673c8cd7eeb7e31a421f7a22 (diff)
parentb72da6cc44cf19688686383065557425d55ae9ed (diff)
Merge pull request #239 from emersion/center-views
Center views in rootston
Diffstat (limited to 'include/rootston/input.h')
-rw-r--r--include/rootston/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h
index e20446ea..9caf66c0 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -132,4 +132,7 @@ void view_begin_move(struct roots_input *input, struct wlr_cursor *cursor,
void view_begin_resize(struct roots_input *input, struct wlr_cursor *cursor,
struct roots_view *view, uint32_t edges);
+void set_view_focus(struct roots_input *input, struct roots_desktop *desktop,
+ struct roots_view *view);
+
#endif