summaryrefslogtreecommitdiff
path: root/sway/handlers.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-06 08:24:14 -0400
committerDrew DeVault <[email protected]>2015-08-06 08:24:14 -0400
commit82bc36c6812b24fca27c2ec176e2c2998e4df6d5 (patch)
treee43f61300ecb8f868bf9e40e43bdbd60bf02ecfb /sway/handlers.h
parent47b28bd335fe279df35f746d5797a1071cb4b989 (diff)
Start to build out window management functions
Diffstat (limited to 'sway/handlers.h')
-rw-r--r--sway/handlers.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sway/handlers.h b/sway/handlers.h
new file mode 100644
index 00000000..36496fb7
--- /dev/null
+++ b/sway/handlers.h
@@ -0,0 +1,15 @@
+#ifndef _SWAY_HANDLERS_H
+#define _SWAY_HANDLERS_H
+
+#include <stdbool.h>
+#include <wlc/wlc.h>
+
+bool handle_output_created(wlc_handle output);
+void handle_output_destroyed(wlc_handle output);
+void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to);
+
+bool handle_view_created(wlc_handle view);
+void handle_view_destroyed(wlc_handle view);
+void handle_view_focus(wlc_handle view, bool focus);
+
+#endif