Revision: 13579
          http://sourceforge.net/p/skim-app/code/13579
Author:   hofman
Date:     2023-08-15 16:00:27 +0000 (Tue, 15 Aug 2023)
Log Message:
-----------
make sure laser pointer hides when skim is not active

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

Modified: trunk/NSCursor_SKExtensions.m
===================================================================
--- trunk/NSCursor_SKExtensions.m       2023-08-15 14:58:49 UTC (rev 13578)
+++ trunk/NSCursor_SKExtensions.m       2023-08-15 16:00:27 UTC (rev 13579)
@@ -285,6 +285,7 @@
         laserPointerWindow = [[SKAnimatedBorderlessWindow alloc] 
initWithContentRect:SKRectFromCenterAndSquareSize(p, s)];
         [laserPointerWindow setLevel:(NSWindowLevel)kCGCursorWindowLevel];
         [(SKAnimatedBorderlessWindow *)laserPointerWindow 
setBackgroundImage:image];
+        [laserPointerWindow setHidesOnDeactivate:YES];
         [laserPointerWindow orderFrontRegardless];
     }
 }

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to