aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rootston/desktop.h3
-rw-r--r--include/rootston/input.h4
-rw-r--r--include/rootston/view.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 5e138c11..392b0271 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -8,6 +8,7 @@
#include <wlr/types/wlr_wl_shell.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_gamma_control.h>
+#include <wlr/util/list.h>
#include "rootston/view.h"
#include "rootston/config.h"
@@ -21,7 +22,7 @@ struct roots_output {
};
struct roots_desktop {
- struct wl_list views;
+ list_t *views;
struct wl_list outputs;
struct timespec last_frame;
diff --git a/include/rootston/input.h b/include/rootston/input.h
index 0ace6cd1..aeab9c0d 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -106,5 +106,9 @@ void cursor_load_config(struct roots_config *config,
struct wlr_cursor *cursor,
struct roots_input *input,
struct roots_desktop *desktop);
+const struct roots_input_event *get_input_event(struct roots_input *input,
+ uint32_t serial);
+void view_begin_move(struct roots_input *input, struct wlr_cursor *cursor,
+ struct roots_view *view);
#endif
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 9cc2fe04..da3b189d 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -56,7 +56,6 @@ struct roots_view {
struct roots_xwayland_surface *roots_xwayland_surface;
};
struct wlr_surface *wlr_surface;
- struct wl_list link;
// TODO: This would probably be better as a field that's updated on a
// configure event from the xdg_shell
// If not then this should follow the typical type/impl pattern we use