chase: input inhibit removal

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4440
This commit is contained in:
Consolatis 2024-03-19 00:32:47 +01:00 committed by Johan Malm
parent d1fbb3c7cc
commit 3e614814fe
6 changed files with 5 additions and 107 deletions

View file

@ -164,7 +164,6 @@ struct seat {
/* Used to prevent region snapping when starting a move with A-Left */
bool region_prevent_snap;
struct wl_client *active_client_while_inhibited;
struct wl_list inputs;
struct wl_listener new_input;
struct wl_listener focus_change;
@ -242,10 +241,6 @@ struct server {
struct wl_listener xwayland_new_surface;
#endif
struct wlr_input_inhibit_manager *input_inhibit;
struct wl_listener input_inhibit_activate;
struct wl_listener input_inhibit_deactivate;
struct wlr_xdg_activation_v1 *xdg_activation;
struct wl_listener xdg_activation_request;
struct wl_listener xdg_activation_new_token;
@ -430,7 +425,7 @@ void foreign_toplevel_update_outputs(struct view *view);
* - optionally raise above other views
*
* It's okay to call this function even if the view isn't mapped or the
* session is locked/input is inhibited; it will simply do nothing.
* session is locked; it will simply do nothing.
*/
void desktop_focus_view(struct view *view, bool raise);
@ -514,13 +509,6 @@ void server_init(struct server *server);
void server_start(struct server *server);
void server_finish(struct server *server);
/*
* wlroots "input inhibitor" extension (required for swaylock) blocks
* any client other than the requesting client from receiving events
*/
bool input_inhibit_blocks_surface(struct seat *seat,
struct wl_resource *resource);
void create_constraint(struct wl_listener *listener, void *data);
void constrain_cursor(struct server *server, struct wlr_pointer_constraint_v1
*constraint);