-
-
Notifications
You must be signed in to change notification settings - Fork 686
Closed
Labels
Feature RequestNew features request. Not an existing issue or bug.New features request. Not an existing issue or bug.
Description
I'm trying to create a minimal MacVim experience by removing the titlebar from the application. I was inspired by https://tuananh.org/2015/01/11/a-minimal-iterm2-setup/ which was actually being picked up by the development team as an option.
Basically I did
diff --git a/src/MacVim/MMWindowController.m b/src/MacVim/MMWindowController.m
index b87079b..ecea307 100644
--- a/src/MacVim/MMWindowController.m
+++ b/src/MacVim/MMWindowController.m
@@ -126,7 +126,7 @@
- (id)initWithVimController:(MMVimController *)controller
{
- unsigned styleMask = NSTitledWindowMask | NSClosableWindowMask
+ unsigned styleMask = NSClosableWindowMask
| NSMiniaturizableWindowMask | NSResizableWindowMask
| NSUnifiedTitleAndToolbarWindowMask;
Everything compiles and it actually removes the titlebar as intended BUT the window doesn't accept any keyboard input (I just hear the bell).
As an unfortunate side effect this removes the ability for amethyst window manager to move the window. Maybe that is even the issue for MacVim.
Unfortunately my knowledge about Objective-C is limited, so my experiment stopped. But maybe somebody else knows how to move this forward?
Metadata
Metadata
Assignees
Labels
Feature RequestNew features request. Not an existing issue or bug.New features request. Not an existing issue or bug.