diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-12 15:52:37 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-14 11:55:53 +0200 |
| commit | 7d98413d4621b964105f346d9e5a2361a0ce9bfc (patch) | |
| tree | 56b6250e379217a67b5b67f71cd4d6409aa53557 /FL | |
| parent | 7104746413c6327d82340dede4abd06bb65f9032 (diff) | |
macOS 15.0 Sequoia: fix capture of window titlebars
The previous procedure using CGWindowListCreateImageFromArray()
is obsoleted in macOS 15.0 .
The new procedure requires an additional framework: ScreenCaptureKit;
FLTK uses it only for macOS ≥ 15.0
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/mac.H | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -99,6 +99,9 @@ typedef class FLWindow *Window; // pointer to the FLWindow objective-c class #ifndef MAC_OS_VERSION_14_0 #define MAC_OS_VERSION_14_0 140000 #endif +#ifndef MAC_OS_VERSION_15_0 +#define MAC_OS_VERSION_15_0 150000 +#endif #ifndef NSINTEGER_DEFINED // appears with 10.5 in NSObjCRuntime.h |
