Commit 38431db0 authored by Thomas Lübking's avatar Thomas Lübking
Browse files

don't use textured mousecursor unless required

REVIEW: 107424
BUG: 276391
FIXED-IN: 4.9.4
(cherry picked from commit 19750d24)
parent 5bfa461f
......@@ -151,6 +151,8 @@ void ZoomEffect::showCursor()
void ZoomEffect::hideCursor()
{
if (mouseTracking == MouseTrackingProportional && mousePointer == MousePointerKeep)
return; // don't replace the actual cursor by a static image for no reason.
if (!isMouseHidden) {
// try to load the cursor-theme into a OpenGL texture and if successful then hide the mouse-pointer
recreateTexture();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment