mirror of
https://github.com/brl/mutter.git
synced 2025-01-09 19:22:22 +00:00
screen-cast-stream-src: Cleanup includes and defines
Removes unused includes and fix indentation of macros to make CI happy :). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2557>
This commit is contained in:
parent
9d328001d1
commit
692a4cec09
@ -38,16 +38,14 @@
|
|||||||
|
|
||||||
#include "backends/meta-screen-cast-session.h"
|
#include "backends/meta-screen-cast-session.h"
|
||||||
#include "backends/meta-screen-cast-stream.h"
|
#include "backends/meta-screen-cast-stream.h"
|
||||||
#include "clutter/clutter-mutter.h"
|
|
||||||
#include "core/meta-fraction.h"
|
#include "core/meta-fraction.h"
|
||||||
#include "meta/boxes.h"
|
|
||||||
|
|
||||||
#define PRIVATE_OWNER_FROM_FIELD(TypeName, field_ptr, field_name) \
|
#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) \
|
#define CURSOR_META_SIZE(width, height) \
|
||||||
(sizeof (struct spa_meta_cursor) + \
|
(sizeof (struct spa_meta_cursor) + \
|
||||||
sizeof (struct spa_meta_bitmap) + width * height * 4)
|
sizeof (struct spa_meta_bitmap) + width * height * 4)
|
||||||
|
|
||||||
#define NUM_DAMAGED_RECTS 32
|
#define NUM_DAMAGED_RECTS 32
|
||||||
#define DEFAULT_SIZE SPA_RECTANGLE (1280, 720)
|
#define DEFAULT_SIZE SPA_RECTANGLE (1280, 720)
|
||||||
|
Loading…
Reference in New Issue
Block a user