CGWindowListCreateImage is capturing accessibly large standard cursors
| Originator: | peter | ||
| Number: | rdar://19513570 | Date Originated: | 2015-01-19 |
| Status: | Open | Resolved: | |
| Product: | Yosemite | Product Version: | 10.10.1 |
| Classification: | Reproducible: | Sometimes |
Normally CGWindowListCreateImage does not capture the cursor. However, when the cursor is set to be larger than normal via the accessibility settings, the cursors sometimes show up in the screen capture. Code is: image = CGWindowListCreateImage( frame, kCGWindowListOptionOnScreenOnly, kCGNullWindowID, kCGWindowImageDefault );
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
same here
I've run into this too. It seems like "CGCursorIsDrawnInFramebuffer()" gives at least an indication whether the cursor is included or not.