Fix wl_surface v6 listener.

This commit is contained in:
Bartosz Taudul 2024-02-28 13:30:59 +01:00
parent 0295ef2b3c
commit ea0471f9d0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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()