aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/output.h')
-rw-r--r--include/rootston/output.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 7f42904f..9682e4f5 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -1,8 +1,8 @@
-#ifndef _ROOTSTON_OUTPUT_H
-#define _ROOTSTON_OUTPUT_H
+#ifndef ROOTSTON_OUTPUT_H
+#define ROOTSTON_OUTPUT_H
-#include <time.h>
#include <pixman.h>
+#include <time.h>
#include <wayland-server.h>
#include <wlr/types/wlr_output_damage.h>
@@ -18,11 +18,11 @@ struct roots_output {
struct timespec last_frame;
struct wlr_output_damage *damage;
+ struct wl_listener destroy;
struct wl_listener frame;
};
-void output_add_notify(struct wl_listener *listener, void *data);
-void output_remove_notify(struct wl_listener *listener, void *data);
+void handle_new_output(struct wl_listener *listener, void *data);
struct roots_view;
struct roots_drag_icon;