Skip to content

Commit

Permalink
Fix wl_surface v6 listener.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Feb 28, 2024
1 parent 0295ef2 commit ea0471f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions profiler/src/BackendWayland.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,10 +647,15 @@ static void SurfacePreferredBufferScale( void*, struct wl_surface* surface, int3
s_maxScale = scale;
}

static void SurfacePreferredBufferTransform( void*, struct wl_surface* surface, uint32_t transform )
{
}

constexpr struct wl_surface_listener surfaceListener = {
.enter = SurfaceEnter,
.leave = SurfaceLeave,
.preferred_buffer_scale = SurfacePreferredBufferScale,
.preferred_buffer_transform = SurfacePreferredBufferTransform
};

static void SetupCursor()
Expand Down

0 comments on commit ea0471f

Please sign in to comment.