2015-08-06 12:24:14 +00:00
|
|
|
#ifndef _SWAY_HANDLERS_H
|
|
|
|
#define _SWAY_HANDLERS_H
|
2015-08-18 07:28:44 +00:00
|
|
|
#include "container.h"
|
2015-08-06 12:24:14 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <wlc/wlc.h>
|
|
|
|
|
2015-08-13 03:59:43 +00:00
|
|
|
extern struct wlc_interface interface;
|
2015-08-22 03:26:11 +00:00
|
|
|
extern struct wlc_origin mouse_origin;
|
2015-08-18 06:33:15 +00:00
|
|
|
extern uint32_t keys_pressed[32];
|
2015-08-09 13:23:10 +00:00
|
|
|
|
2015-08-18 11:19:20 +00:00
|
|
|
// set focus to current pointer location and return focused container
|
2015-08-18 07:28:44 +00:00
|
|
|
swayc_t *container_under_pointer(void);
|
2015-08-14 19:42:19 +00:00
|
|
|
|
2015-08-06 12:24:14 +00:00
|
|
|
#endif
|