mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 08:03:21 +02:00
parent
921bb9d153
commit
28f33155f2
1 changed files with 2 additions and 0 deletions
|
@ -254,6 +254,8 @@ bool CDynamicCursors::setHardware(CPointerManager* pointers, SP<CPointerManager:
|
|||
return false;
|
||||
|
||||
auto PMONITOR = state->monitor.lock();
|
||||
if (!PMONITOR->cursorSwapchain)
|
||||
return false;
|
||||
|
||||
// we need to transform the hotspot manually as we need to indent it by the padding
|
||||
int diagonal = pointers->currentCursorImage.size.size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue