mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
Missed a variable
This commit is contained in:
parent
95653c0bf7
commit
7c393d5143
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ static void destroy_surface_listener(struct wl_listener *listener, void *data) {
|
|||
|
||||
struct wl_resource *res = NULL;
|
||||
wl_list_for_each(res, &state->surfaces, link) {
|
||||
if (_res == surface->resource) {
|
||||
if (res == surface->resource) {
|
||||
wl_list_remove(&res->link);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue