xdg_shell: bump to v5

v5 adds the wm_capabilities event. cage only supports fullscreen.
This commit is contained in:
Simon Ser 2025-06-01 15:13:55 +02:00
parent 119f98f2b8
commit c6ad0c2e13
2 changed files with 3 additions and 1 deletions

View file

@ -227,6 +227,8 @@ handle_xdg_toplevel_commit(struct wl_listener *listener, void *data)
return;
}
wlr_xdg_toplevel_set_wm_capabilities(xdg_shell_view->xdg_toplevel, XDG_TOPLEVEL_WM_CAPABILITIES_FULLSCREEN);
/* When an xdg_surface performs an initial commit, the compositor must
* reply with a configure so the client can map the surface. */
view_position(&xdg_shell_view->view);