diff options
-rw-r--r-- | common/rfb/VNCSConnectionST.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index d2206f9b..53dd364a 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -380,7 +380,8 @@ bool VNCSConnectionST::needRenderedCursor() if (state() != RFBSTATE_NORMAL) return false; - if (!cp.supportsLocalCursor && !cp.supportsLocalXCursor) + if (!cp.supportsLocalCursorWithAlpha && + !cp.supportsLocalCursor && !cp.supportsLocalXCursor) return true; if (!server->cursorPos.equals(pointerEventPos) && (time(0) - pointerEventTime) > 0) @@ -725,7 +726,8 @@ void VNCSConnectionST::enableContinuousUpdates(bool enable, void VNCSConnectionST::supportsLocalCursor() { - if (cp.supportsLocalCursor || cp.supportsLocalXCursor) { + if (cp.supportsLocalCursorWithAlpha || + cp.supportsLocalCursor || cp.supportsLocalXCursor) { if (!damagedCursorRegion.is_empty()) removeRenderedCursor = true; setCursor(); |