[mutter] compositor: Some header cleanups



commit 6330acfaa217b81c400924320bc63cd6365b6f9f
Author: Robert Mader <robert mader collabora com>
Date:   Tue Feb 1 20:26:52 2022 +0100

    compositor: Some header cleanups
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2276>

 src/compositor/meta-surface-actor-wayland.h | 2 --
 src/compositor/meta-window-actor-private.h  | 2 --
 src/compositor/meta-window-actor-wayland.h  | 1 -
 3 files changed, 5 deletions(-)
---
diff --git a/src/compositor/meta-surface-actor-wayland.h b/src/compositor/meta-surface-actor-wayland.h
index 10eb3326ae..c8606931eb 100644
--- a/src/compositor/meta-surface-actor-wayland.h
+++ b/src/compositor/meta-surface-actor-wayland.h
@@ -44,8 +44,6 @@ MetaSurfaceActor * meta_surface_actor_wayland_new (MetaWaylandSurface *surface);
 MetaWaylandSurface * meta_surface_actor_wayland_get_surface (MetaSurfaceActorWayland *self);
 void meta_surface_actor_wayland_surface_destroyed (MetaSurfaceActorWayland *self);
 
-double meta_surface_actor_wayland_get_scale (MetaSurfaceActorWayland *actor);
-
 void meta_surface_actor_wayland_get_subsurface_rect (MetaSurfaceActorWayland *self,
                                                      MetaRectangle           *rect);
 
diff --git a/src/compositor/meta-window-actor-private.h b/src/compositor/meta-window-actor-private.h
index 0f465cdf42..138ce2c832 100644
--- a/src/compositor/meta-window-actor-private.h
+++ b/src/compositor/meta-window-actor-private.h
@@ -3,8 +3,6 @@
 #ifndef META_WINDOW_ACTOR_PRIVATE_H
 #define META_WINDOW_ACTOR_PRIVATE_H
 
-#include <X11/extensions/Xdamage.h>
-
 #include "compositor/meta-plugin-manager.h"
 #include "compositor/meta-surface-actor.h"
 #include "meta/compositor-mutter.h"
diff --git a/src/compositor/meta-window-actor-wayland.h b/src/compositor/meta-window-actor-wayland.h
index d94de81067..4f38d41631 100644
--- a/src/compositor/meta-window-actor-wayland.h
+++ b/src/compositor/meta-window-actor-wayland.h
@@ -24,7 +24,6 @@
 #define META_WINDOW_ACTOR_WAYLAND_H
 
 #include "compositor/meta-window-actor-private.h"
-#include "wayland/meta-wayland-surface.h"
 
 #define META_TYPE_WINDOW_ACTOR_WAYLAND (meta_window_actor_wayland_get_type())
 G_DECLARE_FINAL_TYPE (MetaWindowActorWayland,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]