mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
macOS: Disable cocoa tabs
kitty has its own tabs, and macOS inserts confusing menu entries for its non-functional tabs into the global menu. So disable tabs. Fixes #3325
This commit is contained in:
@@ -1387,7 +1387,10 @@ void _glfwPlatformUpdateIMEState(_GLFWwindow *w, int which, int a, int b, int c,
|
||||
initWindow:(_GLFWwindow *)initWindow
|
||||
{
|
||||
self = [super initWithContentRect:contentRect styleMask:style backing:backingStoreType defer:NO];
|
||||
if (self != nil) glfw_window = initWindow;
|
||||
if (self != nil) {
|
||||
glfw_window = initWindow;
|
||||
self.tabbingMode = NSWindowTabbingModeDisallowed;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user