aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/drm.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-24 18:46:59 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-05-25 14:22:58 +0000
commit28d89779af6de0340533b2674a98ab6ecc238599 (patch)
tree255e8dfb440691f60facc805b0b75df94901fcd6 /include/wlr/backend/drm.h
parent27383a1929348daf01e18349f215c998b6ef8c2f (diff)
Reformat doc comments
Unify the way we document our APIs. See CONTRIBUTING.md for the rules.
Diffstat (limited to 'include/wlr/backend/drm.h')
-rw-r--r--include/wlr/backend/drm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 800bc585..1617aa15 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -48,8 +48,9 @@ bool wlr_output_is_drm(struct wlr_output *output);
uint32_t wlr_drm_connector_get_id(struct wlr_output *output);
/**
- * Tries to open non-master DRM FD. The compositor must not call `drmSetMaster`
+ * Tries to open non-master DRM FD. The compositor must not call drmSetMaster()
* on the returned FD.
+ *
* Returns a valid opened DRM FD, or -1 on error.
*/
int wlr_drm_backend_get_non_master_fd(struct wlr_backend *backend);
@@ -71,7 +72,7 @@ struct wlr_drm_lease *wlr_drm_create_lease(struct wlr_output **outputs,
void wlr_drm_lease_terminate(struct wlr_drm_lease *lease);
/**
- * Add mode to the list of available modes
+ * Add mode to the list of available modes.
*/
typedef struct _drmModeModeInfo drmModeModeInfo;
struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,