From 0460d1da3692f98c64af09d987d0ea9ff3091708 Mon Sep 17 00:00:00 2001 From: Gaauwe Rombouts Date: Tue, 12 Nov 2024 21:27:52 +0100 Subject: [PATCH] fix: update NSWindowTabbingMode enum values Signed-off-by: Gaauwe Rombouts --- cocoa/src/appkit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocoa/src/appkit.rs b/cocoa/src/appkit.rs index 4a6747d4..36bd2634 100644 --- a/cocoa/src/appkit.rs +++ b/cocoa/src/appkit.rs @@ -250,8 +250,8 @@ pub enum NSWindowTitleVisibility { #[derive(Clone, Copy, Debug, PartialEq)] pub enum NSWindowTabbingMode { NSWindowTabbingModeAutomatic = 0, - NSWindowTabbingModeDisallowed = 1, - NSWindowTabbingModePreferred = 2, + NSWindowTabbingModePreferred = 1, + NSWindowTabbingModeDisallowed = 2, } #[repr(u64)]