mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
X11: use the window manager's native full-screen implementation when making windows full-screen
This matches the behavior on Cocoa and Wayland. Fixes #1605
This commit is contained in:
4
kitty/glfw-wrapper.h
generated
4
kitty/glfw-wrapper.h
generated
@@ -1536,6 +1536,10 @@ typedef GLFWwindow* (*glfwCreateWindow_func)(int, int, const char*, GLFWmonitor*
|
||||
glfwCreateWindow_func glfwCreateWindow_impl;
|
||||
#define glfwCreateWindow glfwCreateWindow_impl
|
||||
|
||||
typedef bool (*glfwToggleFullscreen_func)(GLFWwindow*, unsigned int);
|
||||
glfwToggleFullscreen_func glfwToggleFullscreen_impl;
|
||||
#define glfwToggleFullscreen glfwToggleFullscreen_impl
|
||||
|
||||
typedef void (*glfwDestroyWindow_func)(GLFWwindow*);
|
||||
glfwDestroyWindow_func glfwDestroyWindow_impl;
|
||||
#define glfwDestroyWindow glfwDestroyWindow_impl
|
||||
|
||||
Reference in New Issue
Block a user