fix 10.7.2 issues for OF 0071 #850

Closed
ofTheo opened this Issue Dec 22, 2011 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

ofTheo commented Dec 22, 2011

ofHideCursor - fullscreen on startup etc

see issues here:
http://forum.openframeworks.cc/index.php/topic,7621.0.html

Contributor

danomatika commented Feb 22, 2012

Also, Esc no longer closes an app, you have to CMD+Q.

@ofTheo ofTheo closed this in afc0a09 Mar 16, 2012

Contributor

ofTheo commented Mar 16, 2012

@danomatika I just tested on Lion and was able to esc out of the app.

Contributor

ofTheo commented Mar 16, 2012

note for the fullscreen app at login fix we are using this code to bring the app to the foreground if set to fullscreen on startup.

                #ifdef MAC_OS_X_VERSION_10_7 //needed for Lion as when the machine reboots the app is not at front level
                    if( nFrameCount <= 10 ){  //is this long enough? too long? 
                        ProcessSerialNumber psn;                            
                        OSErr err = GetCurrentProcess( &psn );
                        if ( err == noErr ){
                            SetFrontProcess( &psn );
                        }
                    }
                #endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment