diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 15:02:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 15:03:54 +0300 |
commit | fd487b1f4ec0ab06ccf5bc3f6561096a755cdce2 (patch) | |
tree | fdc59af7d8459337e3e188538273a809a36e1aaa /intern/ghost/intern/GHOST_SystemX11.cpp | |
parent | ff2c67d7e8ed334c482681e2342bf8cce0957546 (diff) |
Fix build error with WITH_X11_XINPUT=OFF after recent changes
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemX11.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index ca511073ea1..aebf829a546 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -960,11 +960,7 @@ void GHOST_SystemX11::processEvent(XEvent *xe) case MotionNotify: { XMotionEvent &xme = xe->xmotion; -#ifdef WITH_X11_XINPUT bool is_tablet = window->GetTabletData().Active != GHOST_kTabletModeNone; -#else - bool is_tablet = false; -#endif if (is_tablet == false && window->getCursorGrabModeIsWarp()) { GHOST_TInt32 x_new = xme.x_root; |