mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 19:45:58 +01:00
parent
0c74df4f9e
commit
11fd37418c
1 changed files with 1 additions and 1 deletions
|
@ -2031,7 +2031,7 @@ void CHyprRenderer::setCursorSurface(wlr_surface* surf, int hotspotX, int hotspo
|
|||
m_sLastCursorData.hotspotX = hotspotX;
|
||||
m_sLastCursorData.hotspotY = hotspotY;
|
||||
|
||||
if (shouldRenderCursor())
|
||||
if (shouldRenderCursor() || !surf)
|
||||
wlr_cursor_set_surface(g_pCompositor->m_sWLRCursor, surf, hotspotX, hotspotY);
|
||||
}
|
||||
void CHyprRenderer::setCursorFromName(const std::string& name) {
|
||||
|
|
Loading…
Reference in a new issue