summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Francis <mjay.francis@gmail.com>2015-04-20 12:33:48 +0800
committerCaolán McNamara <caolanm@redhat.com>2015-04-20 09:02:38 +0000
commit255884bd221d0521f5c99add4b9af8723668c300 (patch)
tree0df03e5056352c74b33117819795bcc9700d912d
parente6530bd11bd37cc8bdec7f075c78d9ed52862424 (diff)
tdf#71278 Fix cursor hiding in presentation mode
The original commit was based on a misunderstanding. In fact, the call to GetSalData()->getCursor() at the end of AquaSalFrame::getCurrentCursor() already handles POINTER_NULL correctly, or at least in the same way as on other platforms. The cursor in presentation mode disappears after 10 seconds - if this is to be changed, it should be changed for all platforms. (cherry picked from commit 58a3a99efec9d4bcb4ab61c41bf2feb707c8e1ef and commit b144821188aac238a38d647dff489fc53d9bf3f6) Change-Id: I6d468caa597afa39d17317a60b3dffc190165ac4 Reviewed-on: https://gerrit.libreoffice.org/15395 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/osx/salframe.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 0f266dbc26ad..4ff33e43a88f 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -825,7 +825,6 @@ NSCursor* AquaSalFrame::getCurrentCursor() const
case POINTER_WINDOW_WSIZE:
pCursor = [NSCursor resizeLeftRightCursor]; break;
case POINTER_REFHAND: pCursor = [NSCursor pointingHandCursor]; break;
- case POINTER_NULL: [NSCursor hide]; break;
default:
pCursor = GetSalData()->getCursor( mePointerStyle );