aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rootston/layers.h6
-rw-r--r--include/rootston/output.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/include/rootston/layers.h b/include/rootston/layers.h
index 35f5399e..0e5164bb 100644
--- a/include/rootston/layers.h
+++ b/include/rootston/layers.h
@@ -1,7 +1,6 @@
#ifndef ROOTSTON_LAYERS_H
#define ROOTSTON_LAYERS_H
#include <stdbool.h>
-#include <wlr/config.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_surface.h>
#include <wlr/types/wlr_layer_shell.h>
@@ -15,11 +14,12 @@ struct roots_layer_surface {
struct wl_listener unmap;
struct wl_listener surface_commit;
struct wl_listener output_destroy;
- struct wl_listener output_mode;
- struct wl_listener output_transform;
bool configured;
struct wlr_box geo;
};
+struct roots_output;
+void arrange_layers(struct roots_output *output);
+
#endif
diff --git a/include/rootston/output.h b/include/rootston/output.h
index e40ad776..bf152038 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -23,6 +23,8 @@ struct roots_output {
struct wlr_box usable_area;
struct wl_listener destroy;
+ struct wl_listener mode;
+ struct wl_listener transform;
struct wl_listener damage_frame;
struct wl_listener damage_destroy;
};