don't use textured mousecursor unless required
REVIEW: 107424 BUG: 276391 FIXED-IN: 4.10
This commit is contained in:
parent
5a9a6d3b8a
commit
026fe92c7f
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ void ZoomEffect::showCursor()
|
||||||
|
|
||||||
void ZoomEffect::hideCursor()
|
void ZoomEffect::hideCursor()
|
||||||
{
|
{
|
||||||
|
if (mouseTracking == MouseTrackingProportional && mousePointer == MousePointerKeep)
|
||||||
|
return; // don't replace the actual cursor by a static image for no reason.
|
||||||
if (!isMouseHidden) {
|
if (!isMouseHidden) {
|
||||||
// try to load the cursor-theme into a OpenGL texture and if successful then hide the mouse-pointer
|
// try to load the cursor-theme into a OpenGL texture and if successful then hide the mouse-pointer
|
||||||
recreateTexture();
|
recreateTexture();
|
||||||
|
|
Loading…
Reference in a new issue