Finish glfw side support for layer shell

This commit is contained in:
Kovid Goyal
2024-03-24 11:03:34 +05:30
parent 0641ec2d89
commit fe5ccc144b
6 changed files with 147 additions and 14 deletions

4
glfw/wl_platform.h vendored
View File

@@ -169,6 +169,10 @@ typedef struct _GLFWwindowWayland
struct wp_viewport *wp_viewport;
struct org_kde_kwin_blur *org_kde_kwin_blur;
bool has_blur;
struct {
GLFWLayerShellConfig config;
struct zwlr_layer_surface_v1* zwlr_layer_surface_v1;
} layer_shell;
_GLFWcursor* currentCursor;
double cursorPosX, cursorPosY, allCursorPosX, allCursorPosY;