mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
Fix wlr_multi_backend_add incorrect assert
This commit is contained in:
parent
2facf1df65
commit
9a9dd15d5f
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ static void output_remove_reemit(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
void wlr_multi_backend_add(struct wlr_backend *_multi,
|
void wlr_multi_backend_add(struct wlr_backend *_multi,
|
||||||
struct wlr_backend *backend) {
|
struct wlr_backend *backend) {
|
||||||
assert(wlr_backend_is_multi(backend));
|
assert(wlr_backend_is_multi(_multi));
|
||||||
|
|
||||||
struct wlr_multi_backend *multi = (struct wlr_multi_backend *)_multi;
|
struct wlr_multi_backend *multi = (struct wlr_multi_backend *)_multi;
|
||||||
struct subbackend_state *sub = calloc(1, sizeof(struct subbackend_state));
|
struct subbackend_state *sub = calloc(1, sizeof(struct subbackend_state));
|
||||||
|
|
Loading…
Reference in a new issue