diff options
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index ae9a9fc5..e1ecca92 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -5,6 +5,8 @@ typedef struct sway_container swayc_t; | |||
5 | 5 | ||
6 | #include "layout.h" | 6 | #include "layout.h" |
7 | 7 | ||
8 | extern struct wlc_origin mouse_origin; | ||
9 | |||
8 | enum swayc_types{ | 10 | enum swayc_types{ |
9 | C_ROOT, | 11 | C_ROOT, |
10 | C_OUTPUT, | 12 | C_OUTPUT, |
@@ -98,6 +100,8 @@ swayc_t *swayc_by_name(const char *name); | |||
98 | swayc_t *swayc_active_output(void); | 100 | swayc_t *swayc_active_output(void); |
99 | swayc_t *swayc_active_workspace(void); | 101 | swayc_t *swayc_active_workspace(void); |
100 | swayc_t *swayc_active_workspace_for(swayc_t *view); | 102 | swayc_t *swayc_active_workspace_for(swayc_t *view); |
103 | // set focus to current pointer location and return focused container | ||
104 | swayc_t *container_under_pointer(void); | ||
101 | 105 | ||
102 | // Container information | 106 | // Container information |
103 | 107 | ||