mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/wayland: only set one pointer listener
This commit is contained in:
parent
9e7a997433
commit
ddac792b61
3 changed files with 55 additions and 17 deletions
|
|
@ -288,6 +288,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
|
|||
wlr_log_errno(L_ERROR, "Could not create output surface");
|
||||
goto error;
|
||||
}
|
||||
wl_surface_set_user_data(output->surface, output);
|
||||
output->xdg_surface =
|
||||
zxdg_shell_v6_get_xdg_surface(backend->shell, output->surface);
|
||||
if (!output->xdg_surface) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue