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