File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,14 @@ pub const kCGWindowBackingStoreRetained: CGWindowBackingType = 0;
31
31
pub const kCGWindowBackingStoreNonretained: CGWindowBackingType = 1 ;
32
32
pub const kCGWindowBackingStoreBuffered: CGWindowBackingType = 2 ;
33
33
34
+ // https://developer.apple.com/documentation/coregraphics/quartz_window_services/window_list_option_constants?language=objc
34
35
pub type CGWindowListOption = u32 ;
35
- pub const kCGWindowListOptionAll: CGWindowListOption = 1 << 0 ;
36
- pub const kCGWindowListOptionOnScreenOnly: CGWindowListOption = 1 << 1 ;
37
- pub const kCGWindowListOptionOnScreenAboveWindow: CGWindowListOption = 1 << 2 ;
38
- pub const kCGWindowListOptionOnScreenBelowWindow: CGWindowListOption = 1 << 3 ;
39
- pub const kCGWindowListOptionIncludingWindow: CGWindowListOption = 1 << 4 ;
40
- pub const kCGWindowListOptionExcludeDesktopElements : CGWindowListOption = 1 << 5 ;
36
+ pub const kCGWindowListOptionAll: CGWindowListOption = 0 ;
37
+ pub const kCGWindowListOptionOnScreenOnly: CGWindowListOption = 1 << 0 ;
38
+ pub const kCGWindowListOptionOnScreenAboveWindow: CGWindowListOption = 1 << 1 ;
39
+ pub const kCGWindowListOptionOnScreenBelowWindow: CGWindowListOption = 1 << 2 ;
40
+ pub const kCGWindowListOptionIncludingWindow: CGWindowListOption = 1 << 3 ;
41
+ pub const kCGWindowListExcludeDesktopElements : CGWindowListOption = 1 << 4 ;
41
42
42
43
pub type CGWindowImageOption = u32 ;
43
44
pub const kCGWindowImageDefault: CGWindowImageOption = 0 ;
You can’t perform that action at this time.
0 commit comments