Wayland: Add tracking of XDG fullscreen state

(cherry picked from commit afb127769a)
This commit is contained in:
Camilla Löwy 2022-06-10 18:36:16 +02:00
parent 51018f19d0
commit ebe2b648ea
2 changed files with 4 additions and 2 deletions

View File

@ -182,6 +182,7 @@ typedef struct _GLFWwindowWayland
GLFWbool visible;
GLFWbool maximized;
GLFWbool activated;
GLFWbool fullscreen;
GLFWbool hovered;
GLFWbool transparent;
struct wl_surface* surface;

View File

@ -566,6 +566,7 @@ static void xdgToplevelHandleConfigure(void* userData,
window->wl.activated = activated;
window->wl.maximized = maximized;
window->wl.fullscreen = fullscreen;
}
static void xdgToplevelHandleClose(void* userData,