[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60510] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: OSX/GHOST: forgotten code in my last commit
jens verwiebe
info at jensverwiebe.de
Wed Oct 2 21:19:22 CEST 2013
Revision: 60510
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60510
Author: jensverwiebe
Date: 2013-10-02 19:19:22 +0000 (Wed, 02 Oct 2013)
Log Message:
-----------
OSX/GHOST: forgotten code in my last commit
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm 2013-10-02 19:00:16 UTC (rev 60509)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm 2013-10-02 19:19:22 UTC (rev 60510)
@@ -1025,6 +1025,8 @@
}
switch (eventType) {
case GHOST_kEventWindowClose:
+ // make window that should be closed frontmost
+ [window->getCocoaWindow() makeKeyAndOrderFront:nil];
// check for index of mainwindow as it would quit blender without dialog and discard
if (window->getCocoaWindow() != [windowsList objectAtIndex:([windowsList count] - 1)]) {
pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventWindowClose, window) );
More information about the Bf-blender-cvs
mailing list