mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
NS: prevent makeKeyWindow warnings (bug#69525)
* src/nsterm.m (ns_raise_frame): Don't makeKeyWindow if frame has no_accept_focus set.
This commit is contained in:
parent
59a895ec49
commit
68a5f1f7d1
@ -1407,7 +1407,7 @@ -(void)remove
|
|||||||
block_input ();
|
block_input ();
|
||||||
if (FRAME_VISIBLE_P (f))
|
if (FRAME_VISIBLE_P (f))
|
||||||
{
|
{
|
||||||
if (make_key)
|
if (make_key && !f->no_accept_focus)
|
||||||
[[view window] makeKeyAndOrderFront: NSApp];
|
[[view window] makeKeyAndOrderFront: NSApp];
|
||||||
else
|
else
|
||||||
[[view window] orderFront: NSApp];
|
[[view window] orderFront: NSApp];
|
||||||
|
Loading…
Reference in New Issue
Block a user