aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-08 18:19:05 +0200
committeremersion <contact@emersion.fr>2017-10-08 18:19:05 +0200
commit518ef46ef2c15bdfd2a1e0274fe2bf628639a310 (patch)
tree8db05bf590f1e459b7879a4d57a5da8ef631fb54 /include/rootston
parente66e18f4de6996a5c8d923668834096b61b60110 (diff)
Activate new views
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/input.h3
-rw-r--r--include/rootston/view.h1
2 files changed, 4 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
diff --git a/include/rootston/view.h b/include/rootston/view.h
index f8a828cd..ccc934d4 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -83,5 +83,6 @@ void view_activate(struct roots_view *view, bool active);
void view_resize(struct roots_view *view, uint32_t width, uint32_t height);
void view_close(struct roots_view *view);
bool view_center(struct roots_view *view);
+bool view_initialize(struct roots_view *view);
#endif