From 68a5f1f7d185250e61538f3af764b6e4ea62433f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerd=20M=C3=B6llmann?= Date: Fri, 26 Jul 2024 11:48:24 +0200 Subject: [PATCH] NS: prevent makeKeyWindow warnings (bug#69525) * src/nsterm.m (ns_raise_frame): Don't makeKeyWindow if frame has no_accept_focus set. --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index 575b24754e7..d25f216edd4 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1407,7 +1407,7 @@ -(void)remove block_input (); if (FRAME_VISIBLE_P (f)) { - if (make_key) + if (make_key && !f->no_accept_focus) [[view window] makeKeyAndOrderFront: NSApp]; else [[view window] orderFront: NSApp];