aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-14 14:58:27 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-14 15:01:59 +0200
commit9a9dd15d5f5d401423c913558c3c5c5c5f1f0549 (patch)
tree778132ccbc30d510acc91b4e3fce1fdf3853007d /backend/multi
parent2facf1df65742a1f4ae6977c8a54bc14643c6c1b (diff)
Fix wlr_multi_backend_add incorrect assert
Diffstat (limited to 'backend/multi')
-rw-r--r--backend/multi/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index 94b7dd60..9afca47d 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -112,7 +112,7 @@ static void output_remove_reemit(struct wl_listener *listener, void *data) {
void wlr_multi_backend_add(struct wlr_backend *_multi,
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 subbackend_state *sub = calloc(1, sizeof(struct subbackend_state));