Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 4fd225a

Browse files
Merge pull request #9216 from mono/pr-anvod-solutionpadfocus
Fixes 1007912: Keyboard focus isn't given to Solution pad
2 parents bcd0fb1 + 7e01fd0 commit 4fd225a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Mac/GtkNSViewHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected override bool OnFocusOutEvent (Gdk.EventFocus evnt)
331331
try {
332332
if (view?.Window?.FirstResponder is NSView firstResponder &&
333333
view?.AncestorSharedWithView (firstResponder) == view)
334-
firstResponder.Window?.MakeFirstResponder (null);
334+
firstResponder.Window?.MakeFirstResponder (firstResponder.Window.ContentView);
335335
return base.OnFocusOutEvent (evnt);
336336
} finally {
337337
LogExit ();

0 commit comments

Comments
 (0)