mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
input-inhibitor: drop
wlr_input_inhibitor.h has been marked as deprecated in 0.17.0.
This commit is contained in:
parent
3b4d7d2a92
commit
5dd614b9ad
5 changed files with 0 additions and 243 deletions
|
|
@ -1,37 +0,0 @@
|
|||
/*
|
||||
* This an unstable interface of wlroots. No guarantees are made regarding the
|
||||
* future consistency of this API.
|
||||
*/
|
||||
#ifndef WLR_USE_UNSTABLE
|
||||
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
|
||||
#endif
|
||||
|
||||
#ifndef WLR_TYPES_INPUT_INHIBITOR_H
|
||||
#define WLR_TYPES_INPUT_INHIBITOR_H
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
/*
|
||||
* NOTE: Following the protocol deprecation, wlr/types/wlr_input_inhibitor.h is
|
||||
* deprecated and will be removed in the next release.
|
||||
*/
|
||||
|
||||
struct wlr_input_inhibit_manager {
|
||||
struct wl_global *global;
|
||||
struct wl_client *active_client;
|
||||
struct wl_resource *active_inhibitor;
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal activate; // struct wlr_input_inhibit_manager
|
||||
struct wl_signal deactivate; // struct wlr_input_inhibit_manager
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
void *data;
|
||||
};
|
||||
|
||||
struct wlr_input_inhibit_manager *wlr_input_inhibit_manager_create(
|
||||
struct wl_display *display);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue