xdg_shell: add support for wlr-foreign-toplevel-management

This commit is contained in:
GnSight 2025-10-01 11:53:09 +08:00
parent 2e593fe5a8
commit b35d0afae4
6 changed files with 129 additions and 9 deletions

View file

@ -4,6 +4,7 @@
#include "config.h"
#include <wayland-server-core.h>
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include <wlr/types/wlr_output_layout.h>
@ -61,6 +62,8 @@ struct cg_server {
struct wlr_relative_pointer_manager_v1 *relative_pointer_manager;
struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
bool xdg_decoration;
bool allow_vt_switch;
bool return_app_code;