mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Fix wl_surface v6 listener.
This commit is contained in:
parent
0295ef2b3c
commit
ea0471f9d0
@ -647,10 +647,15 @@ static void SurfacePreferredBufferScale( void*, struct wl_surface* surface, int3
|
|||||||
s_maxScale = scale;
|
s_maxScale = scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void SurfacePreferredBufferTransform( void*, struct wl_surface* surface, uint32_t transform )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
constexpr struct wl_surface_listener surfaceListener = {
|
constexpr struct wl_surface_listener surfaceListener = {
|
||||||
.enter = SurfaceEnter,
|
.enter = SurfaceEnter,
|
||||||
.leave = SurfaceLeave,
|
.leave = SurfaceLeave,
|
||||||
.preferred_buffer_scale = SurfacePreferredBufferScale,
|
.preferred_buffer_scale = SurfacePreferredBufferScale,
|
||||||
|
.preferred_buffer_transform = SurfacePreferredBufferTransform
|
||||||
};
|
};
|
||||||
|
|
||||||
static void SetupCursor()
|
static void SetupCursor()
|
||||||
|
Loading…
Reference in New Issue
Block a user