mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
cursor: minor fixes for unhiding surfaces
the surface equality check is done in CPointerManager, the one in renderer can be wrong fixes #5975
This commit is contained in:
@@ -223,7 +223,7 @@ void CPointerManager::setCursorSurface(CWLSurface* surf, const Vector2D& hotspot
|
||||
},
|
||||
nullptr, "CPointerManager");
|
||||
|
||||
if (surf->wlr()->current.buffer) {
|
||||
if (wlr_surface_has_buffer(surf->wlr())) {
|
||||
timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
wlr_surface_send_frame_done(surf->wlr(), &now);
|
||||
|
Reference in New Issue
Block a user