[PATCH v8 6/6] main: don't configure /dev/fb0 by default
Pekka Paalanen
ppaalanen at gmail.com
Fri Jun 29 09:57:51 UTC 2018
On Wed, 27 Jun 2018 20:44:22 -0400
nerdopolis <bluescreen_avenger at verizon.net> wrote:
> The framebuffer backend now detects the framebuffer device
> dynamically. Don't assume that the framebuffer device is /dev/fb0
> ---
> compositor/main.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/compositor/main.c b/compositor/main.c
> index 068cdd8f..f1ee02b4 100644
> --- a/compositor/main.c
> +++ b/compositor/main.c
> @@ -1599,9 +1599,6 @@ load_fbdev_backend(struct weston_compositor *c,
>
> parse_options(fbdev_options, ARRAY_LENGTH(fbdev_options), argc, argv);
>
> - if (!config.device)
> - config.device = strdup("/dev/fb0");
> -
> config.base.struct_version = WESTON_FBDEV_BACKEND_CONFIG_VERSION;
> config.base.struct_size = sizeof(struct weston_fbdev_backend_config);
> config.configure_device = configure_input_device;
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180629/14b25a9b/attachment-0001.sig>
More information about the wayland-devel
mailing list