diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-17 20:48:47 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-17 20:48:47 +0100 |
commit | 9cd3f03f652fc7ee905001e09dafa40b72e1317d (patch) | |
tree | c7a152c15d038de7d3795c2b51fb9bca07e54ec1 /include/backend/drm/drm.h | |
parent | 60001a75a276f931b02d78a95cedfd0098b88617 (diff) |
backend/drm: add wlr_drm_backend.name
Save the DRM device name in a wlr_drm_backend field, so that we can
easily use it for logging purposes.
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r-- | include/backend/drm/drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index e8b1198f..ea3cdbd4 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -75,6 +75,7 @@ struct wlr_drm_backend { bool addfb2_modifiers; int fd; + char *name; struct wlr_device *dev; size_t num_crtcs; |