summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-15 10:19:45 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-19 11:42:59 +0200
commit467085bfb0f595a094389c2de159589372d36d1e (patch)
tree1124baddedd97a081015513aab0dd8656fe3d683 /vcl/source/app
parentde90c192cb8f1f03a4028493d8bfe9a127a76b2a (diff)
Rename MouseNotifyEvent to NotifyEventType
Also contains keyboard and focus events, not only mouse events Change-Id: Iec1d6c341b01a489ba80fe9634ea3579afb02ea9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139970 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svapp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index b5544586d341..f18f580c83a2 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -947,7 +947,7 @@ bool Application::LOKHandleMouseEvent(VclEventId nEvent, vcl::Window* pWindow, c
{
case VclEventId::WindowMouseMove:
aMouseEvent.mnButton = 0;
- bSuccess = ImplLOKHandleMouseEvent(pWindow, MouseNotifyEvent::MOUSEMOVE, false,
+ bSuccess = ImplLOKHandleMouseEvent(pWindow, NotifyEventType::MOUSEMOVE, false,
aMouseEvent.mnX, aMouseEvent.mnY,
aMouseEvent.mnTime, aMouseEvent.mnCode,
ImplGetMouseMoveMode(&aMouseEvent),
@@ -956,7 +956,7 @@ bool Application::LOKHandleMouseEvent(VclEventId nEvent, vcl::Window* pWindow, c
case VclEventId::WindowMouseButtonDown:
aMouseEvent.mnButton = pEvent->GetButtons();
- bSuccess = ImplLOKHandleMouseEvent(pWindow, MouseNotifyEvent::MOUSEBUTTONDOWN, false,
+ bSuccess = ImplLOKHandleMouseEvent(pWindow, NotifyEventType::MOUSEBUTTONDOWN, false,
aMouseEvent.mnX, aMouseEvent.mnY,
aMouseEvent.mnTime,
#ifdef MACOSX
@@ -972,7 +972,7 @@ bool Application::LOKHandleMouseEvent(VclEventId nEvent, vcl::Window* pWindow, c
case VclEventId::WindowMouseButtonUp:
aMouseEvent.mnButton = pEvent->GetButtons();
- bSuccess = ImplLOKHandleMouseEvent(pWindow, MouseNotifyEvent::MOUSEBUTTONUP, false,
+ bSuccess = ImplLOKHandleMouseEvent(pWindow, NotifyEventType::MOUSEBUTTONUP, false,
aMouseEvent.mnX, aMouseEvent.mnY,
aMouseEvent.mnTime,
#ifdef MACOSX