Skip to content

Commit

Permalink
MR #4440 input-inhibitor: drop
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijenbergh committed Dec 25, 2024
1 parent 967772c commit cf7b2de
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions wlroots/ffi_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,41 +764,6 @@ def has_xwayland() -> bool:
struct wl_display *display);
"""

# types/wlr_input_inhibit_v1.h
CDEF += """
struct wlr_idle_inhibit_manager_v1 {
struct wl_list inhibitors; // wlr_idle_inhibit_inhibitor_v1::link
struct wl_global *global;
struct wl_listener display_destroy;
struct {
struct wl_signal new_inhibitor;
struct wl_signal destroy;
} events;
void *data;
...;
};
struct wlr_idle_inhibitor_v1 {
struct wlr_surface *surface;
struct wl_resource *resource;
struct wl_listener surface_destroy;
struct wl_list link; // wlr_idle_inhibit_manager_v1::inhibitors;
struct {
struct wl_signal destroy;
} events;
void *data;
...;
};
struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_v1_create(struct wl_display *display);
"""

# types/wlr_idle_notify_v1.h
CDEF += """
struct wlr_idle_notifier_v1;
Expand Down Expand Up @@ -843,29 +808,6 @@ def has_xwayland() -> bool:
};
"""

# types/wlr_input_inhibitor.h
CDEF += """
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);
"""

# types/wlr_keyboard.h
CDEF += """
#define WLR_LED_COUNT 3
Expand Down Expand Up @@ -2948,7 +2890,6 @@ def has_xwayland() -> bool:
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include <wlr/types/wlr_input_inhibitor.h>
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
Expand Down

0 comments on commit cf7b2de

Please sign in to comment.