summaryrefslogtreecommitdiff
path: root/include/sway/container.h
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2017-12-10 08:48:44 -0500
committerTony Crisci <[email protected]>2017-12-10 08:48:44 -0500
commite69b052a6d88b1c24d5e48ad086480ee04c07c81 (patch)
tree0c76b0023ef379df124c04ee8dfe9583d49202b0 /include/sway/container.h
parent9333a7eb5329073aecfaf776c8ee0572c7dff67c (diff)
working pointer motion
Diffstat (limited to 'include/sway/container.h')
-rw-r--r--include/sway/container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index 08a98ed9..0e1cc8a3 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <sys/types.h>
#include <wlr/types/wlr_box.h>
+#include <wlr/types/wlr_surface.h>
#include "list.h"
typedef struct sway_container swayc_t;
@@ -136,4 +137,7 @@ swayc_t *destroy_view(swayc_t *view);
swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types type);
+swayc_t *swayc_at(swayc_t *parent, double lx, double ly,
+ struct wlr_surface **surface, double *sx, double *sy);
+
#endif