Skip to content

Commit 2847e06

Browse files
core-graphics: Fix kCGWindowSharingReadWrite value (#690)
1 parent 3570256 commit 2847e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-graphics/src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub type CGWindowID = u32;
2424
pub type CGWindowSharingType = u32;
2525
pub const kCGWindowSharingNone: CGWindowSharingType = 0;
2626
pub const kCGWindowSharingReadOnly: CGWindowSharingType = 1;
27-
pub const kCGWindowSharingReadWrite: CGWindowSharingType = 1;
27+
pub const kCGWindowSharingReadWrite: CGWindowSharingType = 2;
2828

2929
pub type CGWindowBackingType = u32;
3030
pub const kCGWindowBackingStoreRetained: CGWindowBackingType = 0;

0 commit comments

Comments
 (0)