pointer-constraints: rewrite doc comments

This commit is contained in:
Kirill Primak 2025-01-08 12:15:49 +03:00 committed by Isaac Freund
parent c3224d4160
commit f95270bb5e

View file

@ -55,8 +55,7 @@ struct wlr_pointer_constraint_v1 {
struct {
/**
* Called when a pointer constraint's region is updated,
* post-surface-commit.
* Emitted when a pointer constraint's region is updated.
*/
struct wl_signal set_region;
struct wl_signal destroy;
@ -81,13 +80,7 @@ struct wlr_pointer_constraints_v1 {
struct {
struct wl_signal destroy;
/**
* Called when a new pointer constraint is created.
*
* The data pointer is a struct wlr_pointer_constraint_v1.
*/
struct wl_signal new_constraint;
struct wl_signal new_constraint; // struct wlr_pointer_constraint_v1
} events;
void *data;