diff options
| author | Alan Third | 2021-06-07 23:13:33 +0100 |
|---|---|---|
| committer | Alan Third | 2021-06-07 23:16:15 +0100 |
| commit | f7d98dbba0dc7c7e9fea63d39fe88aefa4e9f66c (patch) | |
| tree | eb32e44d09a9d4ef282745b48af175b88a872094 | |
| parent | fcc827619f2cdac9d574f49e08ce4e5be41daf0a (diff) | |
| download | emacs-f7d98dbba0dc7c7e9fea63d39fe88aefa4e9f66c.tar.gz emacs-f7d98dbba0dc7c7e9fea63d39fe88aefa4e9f66c.zip | |
Revert "src/nsterm.m: fix window tabbing on macOS"
This reverts commit 2207f9adccc0411b7ad73a3703f16250d7f8e139.
| -rw-r--r-- | etc/NEWS | 8 | ||||
| -rw-r--r-- | src/nsterm.m | 8 |
2 files changed, 8 insertions, 8 deletions
| @@ -3235,14 +3235,6 @@ The new variable 'xwidget-webkit-download-dir' says where to download to. | |||
| 3235 | ".so" suffix is supported as well. | 3235 | ".so" suffix is supported as well. |
| 3236 | 3236 | ||
| 3237 | +++ | 3237 | +++ |
| 3238 | ** On macOS, Emacs now supports native tabs (in macOS 10.12 and later). | ||
| 3239 | Native tabbing behavior is specified system-wide via System | ||
| 3240 | Preferences, under under "General => Prefer tabs when opening | ||
| 3241 | documents". In macOS versions 10.15 and earlier, this option is | ||
| 3242 | located under Dock instead. Note that this feature is unrelated to | ||
| 3243 | the Emacs 'tab-bar-mode'. | ||
| 3244 | |||
| 3245 | +++ | ||
| 3246 | ** On MS-Windows, Emacs can now toggle the IME. | 3238 | ** On MS-Windows, Emacs can now toggle the IME. |
| 3247 | A new function 'w32-set-ime-open-status' can now be used to disable | 3239 | A new function 'w32-set-ime-open-status' can now be used to disable |
| 3248 | and enable the MS-Windows native Input Method Editor (IME) at run | 3240 | and enable the MS-Windows native Input Method Editor (IME) at run |
diff --git a/src/nsterm.m b/src/nsterm.m index 11b02f1726e..f6168243a49 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -7628,6 +7628,14 @@ not_in_argv (NSString *arg) | |||
| 7628 | selector:@selector (viewDidResize:) | 7628 | selector:@selector (viewDidResize:) |
| 7629 | name:NSViewFrameDidChangeNotification object:nil]; | 7629 | name:NSViewFrameDidChangeNotification object:nil]; |
| 7630 | 7630 | ||
| 7631 | /* macOS Sierra automatically enables tabbed windows. We can't | ||
| 7632 | allow this to be enabled until it's available on a Free system. | ||
| 7633 | Currently it only happens by accident and is buggy anyway. */ | ||
| 7634 | #ifdef NS_IMPL_COCOA | ||
| 7635 | if ([win respondsToSelector: @selector(setTabbingMode:)]) | ||
| 7636 | [win setTabbingMode: NSWindowTabbingModeDisallowed]; | ||
| 7637 | #endif | ||
| 7638 | |||
| 7631 | ns_window_num++; | 7639 | ns_window_num++; |
| 7632 | return self; | 7640 | return self; |
| 7633 | } | 7641 | } |