File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 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;
3131pub const kCGWindowBackingStoreNonretained: CGWindowBackingType = 1 ;
3232pub const kCGWindowBackingStoreBuffered: CGWindowBackingType = 2 ;
3333
34+ // https://developer.apple.com/documentation/coregraphics/quartz_window_services/window_list_option_constants?language=objc
3435pub 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 ;
4142
4243pub type CGWindowImageOption = u32 ;
4344pub const kCGWindowImageDefault: CGWindowImageOption = 0 ;
You can’t perform that action at this time.
0 commit comments