diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-10-02 13:15:32 +0400 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-10-02 13:15:32 +0400 |
commit | af8ae62ec0df083416ae55d363f1bb4b8b059d27 (patch) | |
tree | 05b88fa5d367ae4e463cb373abb728804c93929f /intern | |
parent | db1b74654bc7e268a310a75c64cdee5b53358001 (diff) |
OSX/Cocoa: Mouse up was not sent to WM after window resize
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index c998539fea1..286c4eda675 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1059,6 +1059,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleWindowEvent(GHOST_TEventType eventType, //Enforce only one resize message per event loop (coalescing all the live resize messages) window->updateDrawingContext(); pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventWindowSize, window) ); + //Mouse up event is trapped by the resizing event loop, so send it anyway to the window manager + pushEvent(new GHOST_EventButton(getMilliSeconds(), GHOST_kEventButtonUp, window, convertButton(0))); m_ignoreWindowSizedMessages = true; } break; |