diff --git a/src/cursor.cpp b/src/cursor.cpp index e73c556..1dddc5f 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -254,6 +254,8 @@ bool CDynamicCursors::setHardware(CPointerManager* pointers, SPmonitor.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();