From 026fe92c7fbbdd0a772c2bb9dafeace28a9fcf4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 22 Nov 2012 19:26:48 +0100 Subject: [PATCH] don't use textured mousecursor unless required REVIEW: 107424 BUG: 276391 FIXED-IN: 4.10 --- effects/zoom/zoom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/zoom/zoom.cpp b/effects/zoom/zoom.cpp index da897514bf..0bb54e8c9a 100644 --- a/effects/zoom/zoom.cpp +++ b/effects/zoom/zoom.cpp @@ -154,6 +154,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();