aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/wlr_renderer.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index c95bbe6f..b9e83734 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -24,14 +24,16 @@ struct wlr_fbox;
* A renderer for basic 2D operations.
*/
struct wlr_renderer {
+ struct {
+ struct wl_signal destroy;
+ } events;
+
+ // private state
+
const struct wlr_renderer_impl *impl;
bool rendering;
bool rendering_with_buffer;
-
- struct {
- struct wl_signal destroy;
- } events;
};
/**