Implement background blur for KDE on X11 as well

This commit is contained in:
Kovid Goyal
2023-06-27 14:56:35 +05:30
parent 7a1bdb4ff1
commit 7c6d40fa0c
11 changed files with 52 additions and 7 deletions

1
glfw/x11_init.c vendored
View File

@@ -651,6 +651,7 @@ int _glfwPlatformInit(void)
_glfw.x11.root = RootWindow(_glfw.x11.display, _glfw.x11.screen);
_glfw.x11.context = XUniqueContext();
_glfw.x11.RESOURCE_MANAGER = XInternAtom(_glfw.x11.display, "RESOURCE_MANAGER", True);
_glfw.x11._KDE_NET_WM_BLUR_BEHIND_REGION = None;
XSelectInput(_glfw.x11.display, _glfw.x11.root, PropertyChangeMask);
_glfwGetSystemContentScaleX11(&_glfw.x11.contentScaleX, &_glfw.x11.contentScaleY, false);