diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2017-12-22 14:19:38 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2018-02-23 18:57:45 +0800 |
commit | 0162cdf8ef21d04003700f3c30490913cba44f29 (patch) | |
tree | faecc78c6e7f44d3742a65ea5644e7d8b3a0b093 | |
parent | 7e17dd0098d5bebe276c2264c8aee24345b38974 (diff) | |
download | mutter-0162cdf8ef21d04003700f3c30490913cba44f29.tar.gz |
surface-actor/wayland: Minor style fixes
https://gitlab.gnome.org/GNOME/mutter/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=791938
-rw-r--r-- | src/compositor/meta-surface-actor-wayland.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/compositor/meta-surface-actor-wayland.c b/src/compositor/meta-surface-actor-wayland.c index 551322573..fb4876141 100644 --- a/src/compositor/meta-surface-actor-wayland.c +++ b/src/compositor/meta-surface-actor-wayland.c @@ -38,18 +38,22 @@ #include "backends/meta-backend-private.h" #include "compositor/region-utils.h" -struct _MetaSurfaceActorWaylandPrivate +typedef struct _MetaSurfaceActorWaylandPrivate { MetaWaylandSurface *surface; struct wl_list frame_callback_list; -}; -typedef struct _MetaSurfaceActorWaylandPrivate MetaSurfaceActorWaylandPrivate; +} MetaSurfaceActorWaylandPrivate; -G_DEFINE_TYPE_WITH_PRIVATE (MetaSurfaceActorWayland, meta_surface_actor_wayland, META_TYPE_SURFACE_ACTOR) +G_DEFINE_TYPE_WITH_PRIVATE (MetaSurfaceActorWayland, + meta_surface_actor_wayland, + META_TYPE_SURFACE_ACTOR) static void meta_surface_actor_wayland_process_damage (MetaSurfaceActor *actor, - int x, int y, int width, int height) + int x, + int y, + int width, + int height) { } |