From 70ca48b67f1b84a62104d134505207ead9038e18 Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Sat, 11 Apr 2020 21:40:09 -0700 Subject: Button events now include tabletdata, so move is unnecessary. Signed-off-by: Nicholas Rishel --- intern/ghost/intern/GHOST_SystemWin32.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'intern/ghost') 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)); } -- cgit v1.2.3