mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -04:00
apply labwc/labwc#85 to add support for pointer constraints
This commit is contained in:
parent
3321daef98
commit
4e9b9273f1
5 changed files with 121 additions and 3 deletions
6
server.h
6
server.h
|
|
@ -7,6 +7,8 @@
|
|||
#include <wlr/types/wlr_idle.h>
|
||||
#include <wlr/types/wlr_idle_inhibit_v1.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
||||
#include <wlr/types/wlr_relative_pointer_v1.h>
|
||||
#include <wlr/types/wlr_xdg_decoration_v1.h>
|
||||
#if CAGE_HAS_XWAYLAND
|
||||
#include <wlr/xwayland.h>
|
||||
|
|
@ -42,6 +44,10 @@ struct cg_server {
|
|||
struct wl_list outputs; // cg_output::link
|
||||
struct wl_listener new_output;
|
||||
|
||||
struct wlr_relative_pointer_manager_v1 *relative_pointer_manager;
|
||||
struct wlr_pointer_constraints_v1 *constraints;
|
||||
struct wl_listener new_constraint;
|
||||
|
||||
struct wl_listener xdg_toplevel_decoration;
|
||||
struct wl_listener new_xdg_shell_surface;
|
||||
#if CAGE_HAS_XWAYLAND
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue