mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/wayland: tag wl_surface
When integrating wlroots with another toolkit, wlroots may receive wl_pointer.enter events for surfaces not backed by a wlr_output. Ignore such surfaces by tagging the ones we're aware of with wl_proxy_set_tag().
This commit is contained in:
parent
dd24991c9e
commit
4f88886199
4 changed files with 32 additions and 5 deletions
|
|
@ -154,6 +154,8 @@ struct wlr_wl_seat {
|
|||
};
|
||||
|
||||
struct wlr_wl_backend *get_wl_backend_from_backend(struct wlr_backend *backend);
|
||||
struct wlr_wl_output *get_wl_output_from_surface(struct wlr_wl_backend *wl,
|
||||
struct wl_surface *surface);
|
||||
void update_wl_output_cursor(struct wlr_wl_output *output);
|
||||
|
||||
void init_seat_keyboard(struct wlr_wl_seat *seat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue