mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
...
This commit is contained in:
@@ -2207,8 +2207,8 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
|
|||||||
if (window->ns.layer_shell.is_active && window->ns.layer_shell.config.type == GLFW_LAYER_SHELL_BACKGROUND) {
|
if (window->ns.layer_shell.is_active && window->ns.layer_shell.config.type == GLFW_LAYER_SHELL_BACKGROUND) {
|
||||||
[window->ns.object orderBack:nil];
|
[window->ns.object orderBack:nil];
|
||||||
} else [window->ns.object orderFront:nil];
|
} else [window->ns.object orderFront:nil];
|
||||||
debug("Previously active application pid: %d bundle identifier: %s\n", window->ns.previous_front_most_application,
|
debug("Previously active application pid: %d bundle identifier: %s\n",
|
||||||
window->ns.previous_front_most_application ? [NSRunningApplication runningApplicationWithProcessIdentifier:window->ns.previous_front_most_application].bundleIdentifier.UTF8String : "");
|
window->ns.previous_front_most_application, app ? app.bundleIdentifier.UTF8String : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
||||||
|
|||||||
Reference in New Issue
Block a user