backend-drm: Fix ignoring config 'require-input' option

Without this patch, the DRM-backend would rewrite the 'require-input',
core section option given by the user.

This removes 'continue_without_input' DRM-backend option and takes into
consideration the cmd line option only if that was passed (Pekka Paalanen).

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad
2020-12-06 13:10:18 +02:00
parent e630d2d0d0
commit a86b590fea
3 changed files with 5 additions and 6 deletions
+1 -4
View File
@@ -35,7 +35,7 @@
extern "C" {
#endif
#define WESTON_DRM_BACKEND_CONFIG_VERSION 3
#define WESTON_DRM_BACKEND_CONFIG_VERSION 4
struct libinput_device;
@@ -223,9 +223,6 @@ struct weston_drm_backend_config {
/** Use shadow buffer if using Pixman-renderer. */
bool use_pixman_shadow;
/** Allow compositor to start without input devices. */
bool continue_without_input;
};
#ifdef __cplusplus