From 352804488aa88eef2feeb8a098ecd3c33ecc4dc4 Mon Sep 17 00:00:00 2001 From: nerdopolis Date: Fri, 29 Jun 2018 08:17:51 -0400 Subject: [PATCH] main: don't configure /dev/fb0 by default The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 Reviewed-by: Pekka Paalanen Reviewed-by: Emil Velikov --- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 89e389b2..b5b4fc59 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -2065,9 +2065,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;