Revision: 7471
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7471&view=rev
Author:   hofman
Date:     2011-09-07 16:50:25 +0000 (Wed, 07 Sep 2011)
Log Message:
-----------
allow caps lock with escape to quit full screen

Modified Paths:
--------------
    trunk/SKFullScreenWindow.m

Modified: trunk/SKFullScreenWindow.m
===================================================================
--- trunk/SKFullScreenWindow.m  2011-09-07 11:20:56 UTC (rev 7470)
+++ trunk/SKFullScreenWindow.m  2011-09-07 16:50:25 UTC (rev 7471)
@@ -190,7 +190,7 @@
     unichar ch = [theEvent firstCharacter];
        NSUInteger modifierFlags = [theEvent deviceIndependentModifierFlags];
     
-    if (modifierFlags == 0 && ch == SKEscapeCharacter) {
+    if ((modifierFlags & ~NSAlphaShiftKeyMask) == 0 && ch == 
SKEscapeCharacter) {
         [(SKMainWindowController *)[self windowController] 
exitFullscreen:self];
         return;
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to