Revision: 13384
          http://sourceforge.net/p/skim-app/code/13384
Author:   hofman
Date:     2023-03-17 10:29:46 +0000 (Fri, 17 Mar 2023)
Log Message:
-----------
just order screenshot image above window, childwindow trick doesn't put it in 
the right z level

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2023-03-16 22:35:12 UTC (rev 
13383)
+++ trunk/SKMainWindowController_FullScreen.m   2023-03-17 10:29:46 UTC (rev 
13384)
@@ -381,9 +381,8 @@
     [(SKAnimatedBorderlessWindow *)animationWindow setBackgroundImage:image];
     [image release];
     [animationWindow setHasShadow:[window hasShadow]];
-    // trick to make sure the animation window shows up in the same space and 
tyhe same level
-    [window addChildWindow:animationWindow ordered:NSWindowBelow];
-    [window removeChildWindow:animationWindow];
+    [animationWindow setLevel:[window level]];
+    [animationWindow orderWindow:NSWindowAbove relativeTo:window];
     [window setAlphaValue:0.0];
 }
 

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