mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
input/cursor: fix assignment/equality mix-up
This commit is contained in:
parent
72e1945a4c
commit
6e949e623a
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ handle_constraint_commit(struct wl_listener *listener, void *data)
|
||||||
struct wlr_pointer_constraint_v1 *constraint = seat->current_constraint;
|
struct wlr_pointer_constraint_v1 *constraint = seat->current_constraint;
|
||||||
/* Prevents unused variable warning when compiled without asserts */
|
/* Prevents unused variable warning when compiled without asserts */
|
||||||
(void)constraint;
|
(void)constraint;
|
||||||
assert(constraint->surface = data);
|
assert(constraint->surface == data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue