diff options
author | Nicholas Rishel <rishel.nick@gmail.com> | 2020-04-12 07:40:09 +0300 |
---|---|---|
committer | Nicholas Rishel <rishel.nick@gmail.com> | 2020-10-31 02:29:03 +0300 |
commit | 70ca48b67f1b84a62104d134505207ead9038e18 (patch) | |
tree | 91a20af15b077f3c632f31d2620543e0fd475cb9 | |
parent | abbdfc8bf71f779a4c34a22a1df7bc37ae14fd4c (diff) |
Button events now include tabletdata, so move is unnecessary.
Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 558143a2ead..ddf5ac14ef3 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -1011,9 +1011,6 @@ GHOST_TSuccess GHOST_SystemWin32::processWintabEvents(GHOST_TEventType type, * changing a window. */ if (type == GHOST_kEventButtonDown) { - // Move cursor to point of contact because GHOST_EventButton does not include position. - system->pushEvent(new GHOST_EventCursor( - info.time, GHOST_kEventCursorMove, window, info.x, info.y, info.tabletData)); system->pushEvent( new GHOST_EventButton(info.time, info.type, window, info.button, info.tabletData)); } |