Prevent minimize/maximize/fullscreen for layer shell windows

This commit is contained in:
Kovid Goyal
2025-04-23 07:21:42 +05:30
parent 3c4a8a1e7e
commit ca30b4196b
2 changed files with 5 additions and 5 deletions

View File

@@ -1963,7 +1963,7 @@ _glfwPlatformSetLayerShellConfig(_GLFWwindow* window, const GLFWLayerShellConfig
CGFloat x = NSMinX(screen.visibleFrame), y = NSMinY(screen.visibleFrame);
[window->ns.object setFrame:NSMakeRect(x, y, (CGFloat)width, (CGFloat)height) display:YES];
return true;
#undef config
#undef config
}
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)