Revision: 13370
http://sourceforge.net/p/skim-app/code/13370
Author: hofman
Date: 2023-03-15 18:47:58 +0000 (Wed, 15 Mar 2023)
Log Message:
-----------
revert last commit, does this use different coordinates?
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-03-15 18:28:52 UTC (rev
13369)
+++ trunk/SKMainWindowController_FullScreen.m 2023-03-15 18:47:58 UTC (rev
13370)
@@ -558,7 +558,7 @@
CGWindowListOption options = kCGWindowListOptionIncludingWindow;
if (([window styleMask] & NSWindowStyleMaskFullScreen) != 0)
options |= kCGWindowListOptionOnScreenAboveWindow;
- CGImageRef cgImage = CGWindowListCreateImage(NSRectToCGRect([window
frame]), options, (CGWindowID)[window windowNumber],
kCGWindowImageBoundsIgnoreFraming);
+ CGImageRef cgImage = CGWindowListCreateImage(CGRectNull, options,
(CGWindowID)[window windowNumber], kCGWindowImageBoundsIgnoreFraming);
NSImage *image = [[NSImage alloc] initWithCGImage:cgImage size:frame.size];
CGImageRelease(cgImage);
return [image autorelease];
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