mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
NS: Use different window collection behavior for tooltips (bug#73037)
* src/nsterm.m ([EmacsView updateCollectionBehavior]): Use NSWindowCollectionBehaviorFullScreenAuxiliary for non-native tooltips which are not child frames.
This commit is contained in:
parent
5a7a12d792
commit
f177537f70
1 changed files with 3 additions and 2 deletions
|
|
@ -8574,12 +8574,13 @@ ns_in_echo_area (void)
|
|||
NSWindowCollectionBehavior b = [win collectionBehavior];
|
||||
if (ns_use_native_fullscreen)
|
||||
{
|
||||
if (FRAME_PARENT_FRAME (emacsframe))
|
||||
if (FRAME_PARENT_FRAME (emacsframe)
|
||||
|| FRAME_TOOLTIP_P (emacsframe))
|
||||
{
|
||||
b &= ~NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
b |= NSWindowCollectionBehaviorFullScreenAuxiliary;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
b |= NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
b &= ~NSWindowCollectionBehaviorFullScreenAuxiliary;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue