Kirill Primak
|
884237e9af
|
util/addon: ensure the set is empty after finish
|
2 years ago |
Kenny Levinsen
|
bb0fd29252
|
addon: Allow NULL owner of addon
An owner is not always required or practical. Rather than have the user
set a bogus owner in these cases, allow the user to set a NULL owner.
|
2 years ago |
Kirill Primak
|
4ac19e9f9c
|
util/addon: avoid calling finish() twice
No functional change.
|
3 years ago |
Simon Ser
|
6c350799b2
|
Zero-initialize structs in init functions
Ensures there is no field left to its previous undefined value after
calling an init function.
|
3 years ago |
Simon Ser
|
54653b5d95
|
util/addon: fix public include
Everything in wlr/ is public and should be included via angle-bracket
include directives.
|
3 years ago |
Kirill Primak
|
111d4eafd7
|
util/addon: find both by owner and impl
This allows to have multiple addons of different types with the same
owner.
|
3 years ago |
Kirill Primak
|
a6a80850b7
|
util: add wlr_addon
|
3 years ago |