mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-18 18:05:21 +00:00
Bug fix. Key events were not being passed in full screen mode,
because the window, having been minimised, is no longer 'Key.'
This commit is contained in:
parent
b8ffa860a2
commit
abbc3cc253
@ -150,11 +150,12 @@
|
||||
|
||||
if ( tmp < [emulators count] ) // i.e. if we exited the for loop
|
||||
#else
|
||||
if ( [theEmulator isRunning] && [[theEmulator window] isKeyWindow ] )
|
||||
if ( FULLSCREEN ||
|
||||
[theEmulator isRunning] && [[theEmulator window] isKeyWindow ] )
|
||||
#endif
|
||||
{
|
||||
view = [theEmulator screen];
|
||||
|
||||
NSLog(@"Got a key event - %d\n", [event keyCode]);
|
||||
switch ( type )
|
||||
{
|
||||
case NSKeyUp:
|
||||
|
Loading…
Reference in New Issue
Block a user