From 692a4cec09de5912256d5123ec1a297569129dc3 Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 8 Feb 2024 23:36:30 +0100 Subject: [PATCH] screen-cast-stream-src: Cleanup includes and defines Removes unused includes and fix indentation of macros to make CI happy :). Part-of: --- src/backends/meta-screen-cast-stream-src.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/backends/meta-screen-cast-stream-src.c b/src/backends/meta-screen-cast-stream-src.c index af76fa73f..98e69a64a 100644 --- a/src/backends/meta-screen-cast-stream-src.c +++ b/src/backends/meta-screen-cast-stream-src.c @@ -38,16 +38,14 @@ #include "backends/meta-screen-cast-session.h" #include "backends/meta-screen-cast-stream.h" -#include "clutter/clutter-mutter.h" #include "core/meta-fraction.h" -#include "meta/boxes.h" #define PRIVATE_OWNER_FROM_FIELD(TypeName, field_ptr, field_name) \ - (TypeName *)((guint8 *)(field_ptr) - G_PRIVATE_OFFSET (TypeName, field_name)) + (TypeName *)((guint8 *)(field_ptr) - G_PRIVATE_OFFSET (TypeName, field_name)) #define CURSOR_META_SIZE(width, height) \ - (sizeof (struct spa_meta_cursor) + \ - sizeof (struct spa_meta_bitmap) + width * height * 4) + (sizeof (struct spa_meta_cursor) + \ + sizeof (struct spa_meta_bitmap) + width * height * 4) #define NUM_DAMAGED_RECTS 32 #define DEFAULT_SIZE SPA_RECTANGLE (1280, 720)