mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-26 07:58:10 -04:00
Add cage clone mode
The main window will be restricted to the smallest dimensions of all possible screens
This commit is contained in:
parent
dcd64ae48b
commit
02bbb4a94a
8 changed files with 101 additions and 11 deletions
3
seat.h
3
seat.h
|
|
@ -48,6 +48,8 @@ struct cg_seat {
|
|||
struct wl_listener request_set_cursor;
|
||||
struct wl_listener request_set_selection;
|
||||
struct wl_listener request_set_primary_selection;
|
||||
|
||||
struct wlr_box clone_confine_box;
|
||||
};
|
||||
|
||||
struct cg_keyboard_group {
|
||||
|
|
@ -92,5 +94,6 @@ void seat_destroy(struct cg_seat *seat);
|
|||
struct cg_view *seat_get_focus(struct cg_seat *seat);
|
||||
void seat_set_focus(struct cg_seat *seat, struct cg_view *view);
|
||||
void seat_center_cursor(struct cg_seat *seat);
|
||||
void seat_get_clone_confines(struct cg_server *server, struct wlr_box *confine_box);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue