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