minor changes to x11 cursor grab wrapping
authorCampbell Barton <ideasman42@gmail.com>
Sun, 18 Oct 2009 09:55:39 +0000 (09:55 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 18 Oct 2009 09:55:39 +0000 (09:55 +0000)
commit9b26e7d7caca6834d7d70430993d1bb715695292
treedfdb51529ed67ff3daeaec5356a487b4bb84dfad
parent55e6aa77c4fa014730096f2debba2cb979a0f9de
minor changes to x11 cursor grab wrapping
- when wrapping 2 mouse events were added.
- on release blender still had the last event (possibly outside the screen), where menus would fail to show. Add a mouse event by calling XWarpPointer with no movement when leaving grab.
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_WindowX11.cpp
source/blender/windowmanager/intern/wm_cursors.c