aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-10-28 00:22:52 +0100
committerFurkan Sahin <furkan-dev@proton.me>2015-10-28 00:22:52 +0100
commit6b794394ff352596da21440af0d3800f59abe586 (patch)
tree7047b1bbfe38f581f46cc6a92a75320631e8ee35 /include
parent9fa96f641a4d9975646fdf4928a72269e187647e (diff)
container: Move container_under_pointer here from handlers.
Diffstat (limited to 'include')
-rw-r--r--include/container.h4
-rw-r--r--include/handlers.h4
2 files changed, 4 insertions, 4 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;
#include "layout.h"
+extern struct wlc_origin mouse_origin;
+
enum swayc_types{
C_ROOT,
C_OUTPUT,
@@ -98,6 +100,8 @@ swayc_t *swayc_by_name(const char *name);
swayc_t *swayc_active_output(void);
swayc_t *swayc_active_workspace(void);
swayc_t *swayc_active_workspace_for(swayc_t *view);
+// set focus to current pointer location and return focused container
+swayc_t *container_under_pointer(void);
// Container information
diff --git a/include/handlers.h b/include/handlers.h
index 4c71f953..d7f6ffdd 100644
--- a/include/handlers.h
+++ b/include/handlers.h
@@ -5,10 +5,6 @@
#include <wlc/wlc.h>
extern struct wlc_interface interface;
-extern struct wlc_origin mouse_origin;
extern uint32_t keys_pressed[32];
-// set focus to current pointer location and return focused container
-swayc_t *container_under_pointer(void);
-
#endif