mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
wayland-surface: Fix warnings
This commit is contained in:
parent
845fdda22c
commit
afaab8aef2
@ -324,7 +324,6 @@ commit_pending_state (MetaWaylandSurface *surface,
|
|||||||
MetaWaylandPendingState *pending)
|
MetaWaylandPendingState *pending)
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = surface->compositor;
|
MetaWaylandCompositor *compositor = surface->compositor;
|
||||||
double output_scale;
|
|
||||||
|
|
||||||
/* If this surface is a subsurface in in synchronous mode, commit
|
/* If this surface is a subsurface in in synchronous mode, commit
|
||||||
* has a special-case and should not apply the pending state immediately.
|
* has a special-case and should not apply the pending state immediately.
|
||||||
@ -376,7 +375,7 @@ commit_pending_state (MetaWaylandSurface *surface,
|
|||||||
g_list_foreach (surface->subsurfaces, parent_surface_committed, NULL);
|
g_list_foreach (surface->subsurfaces, parent_surface_committed, NULL);
|
||||||
|
|
||||||
/* scale surface texture */
|
/* scale surface texture */
|
||||||
meta_surface_actor_wayland_scale_texture (surface->surface_actor);
|
meta_surface_actor_wayland_scale_texture (META_SURFACE_ACTOR_WAYLAND (surface->surface_actor));
|
||||||
|
|
||||||
/* wl_surface.frame */
|
/* wl_surface.frame */
|
||||||
wl_list_insert_list (&compositor->frame_callbacks, &pending->frame_callback_list);
|
wl_list_insert_list (&compositor->frame_callbacks, &pending->frame_callback_list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user