aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-11-21 20:10:18 +0300
committerKirill Primak <vyivel@eclair.cafe>2023-11-21 20:10:18 +0300
commit5dd614b9adc97bf1c89c8e2ebe8504841f8635ea (patch)
treeda90662736aa06319085438837f410b956f1f80f /include
parent3b4d7d2a926a0b65d3bad6649615c0b6a61c0336 (diff)
input-inhibitor: drop
wlr_input_inhibitor.h has been marked as deprecated in 0.17.0.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_input_inhibitor.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/wlr/types/wlr_input_inhibitor.h b/include/wlr/types/wlr_input_inhibitor.h
deleted file mode 100644
index 49bc3ac2..00000000
--- a/include/wlr/types/wlr_input_inhibitor.h
+++ /dev/null
@@ -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