[vlc-devel] [PATCH v2 1/1] wayland: add background surface and center video
Rémi Denis-Courmont
remi at remlab.net
Tue Feb 26 16:43:07 CET 2019
Le tiistaina 26. helmikuuta 2019, 17.31.47 EET Alexandre Janniaux a écrit :
> + /* HACK: Clients like Qt can expect every surface to be their surface,
> and + * get events from wl_pointer object, independently of the
> wl_event_queue + * set so we avoid these event by disabling them on
> this surface. */ + struct wl_region *input_region =
> wl_compositor_create_region(sys->compositor); +
> wl_region_add(input_region, 0, 0, 0, 0);
> + wl_surface_set_input_region(sys->surface, input_region);
> + wl_region_destroy(input_region);
This does not seem to be related to this black borders, nor does it seem to
belong at all - the problem ought to affect any WL display.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list