diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-21 11:56:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-21 11:56:08 +0400 |
commit | f4d6bbd656810c3248debb909204df0135b74e65 (patch) | |
tree | 1637c72cf04e3179f11cf176f4374ce9d5dcf096 /intern | |
parent | ddb1f64fff1c4ea9c0f93e71d89996d1144af671 (diff) |
- improvements from Mathias Panzenböck (panzi) patch [#19695], which avoid conversion to/from strings with context property assignment. though didnt apply entire patch.
- [#19698] Add Menu Item: View3d -> Object -> Move to layer
from Howard Brooks (hbroo)
- had cursor grab commented by mistake for X11
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 3459f2fcc94..d9c2654f446 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1412,7 +1412,7 @@ setWindowCursorGrab( setWindowCursorVisibility(false); } - //XGrabPointer(m_display, m_window, True, ButtonPressMask| ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime); + XGrabPointer(m_display, m_window, True, ButtonPressMask| ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime); } else { if (m_cursorGrab==GHOST_kGrabHide) { @@ -1430,7 +1430,7 @@ setWindowCursorGrab( /* Almost works without but important otherwise the mouse GHOST location can be incorrect on exit */ setCursorGrabAccum(0, 0); m_cursorGrabBounds.m_l= m_cursorGrabBounds.m_r= -1; /* disable */ - //XUngrabPointer(m_display, CurrentTime); + XUngrabPointer(m_display, CurrentTime); } XFlush(m_display); |