diff options
author | emersion <contact@emersion.fr> | 2018-09-19 14:15:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 14:15:16 +0200 |
commit | 842368ec983cdf671cf16f5be51633392ed52d5e (patch) | |
tree | 506b2886ae2aa9f07d2f66a8783377d311cc31af /include/wlr | |
parent | 33a3d8a55504e4fc17dbaa5c268435df0102033f (diff) | |
parent | 691a63d66bdf45bc30e427b59958e7e12440e53e (diff) |
Merge pull request #1253 from RyanDwyer/multi-for-each-backend
Introduce wlr_multi_for_each_backend
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/backend/multi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h index 7137b075..ef908d26 100644 --- a/include/wlr/backend/multi.h +++ b/include/wlr/backend/multi.h @@ -31,4 +31,7 @@ bool wlr_backend_is_multi(struct wlr_backend *backend); struct wlr_session *wlr_multi_get_session(struct wlr_backend *base); bool wlr_multi_is_empty(struct wlr_backend *backend); +void wlr_multi_for_each_backend(struct wlr_backend *backend, + void (*callback)(struct wlr_backend *backend, void *data), void *data); + #endif |