mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 10:01:33 +00:00
Cocoa: Cleanup
This makes the Cocoa _glfwPlatformSetWindowMonitor consistent with its
X11 and Win32 counterparts.
From upstream: 3262c29440
This commit is contained in:
parent
3cd1fef4cb
commit
9b080950a9
1 changed files with 1 additions and 1 deletions
|
|
@ -1723,7 +1723,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
|
|||
// HACK: Changing the style mask can cause the first responder to be cleared
|
||||
[window->ns.object makeFirstResponder:window->ns.view];
|
||||
|
||||
if (monitor)
|
||||
if (window->monitor)
|
||||
{
|
||||
[window->ns.object setLevel:NSMainMenuWindowLevel + 1];
|
||||
[window->ns.object setHasShadow:NO];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue