diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-07-09 20:05:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-07-09 20:05:01 +0400 |
commit | b00409e72d04fe9e710c25fb4f076d1e960328dc (patch) | |
tree | 17d44f7ea5541b926ed5fde5aaa82fd8fb201949 /intern/ghost/intern/GHOST_WindowX11.h | |
parent | 5e659c0b0895e07351bd2b2425deea342141e515 (diff) |
2.5: X11
* Pass on mouse location on window leave/enter too, fixing some
issues with button highlights and tooltips.
* When a modal operator runs, grab the mouse cursor so that for
example transform still works when you move your mouse outside
of the window, previously it would just stop then. This is
automatic now for all modal ops, perhaps not always needed?
* Fix for a trailing button highlight issue.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.h')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h index 1392e2c19a6..6f8940bdcbb 100644 --- a/intern/ghost/intern/GHOST_WindowX11.h +++ b/intern/ghost/intern/GHOST_WindowX11.h @@ -250,6 +250,15 @@ protected: ); /** + * Sets the cursor grab on the window using + * native window system calls. + */ + GHOST_TSuccess + setWindowCursorGrab( + bool grab + ); + + /** * Sets the cursor shape on the window using * native window system calls. */ |