mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
Fixed 'unused variable' compiler warning.
This commit is contained in:
parent
7f9a212476
commit
f8373ccf25
1 changed files with 0 additions and 2 deletions
2
dwl.c
2
dwl.c
|
@ -1526,7 +1526,6 @@ mapnotify(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
c->scene->node.data = c->scene_surface->node.data = c;
|
c->scene->node.data = c->scene_surface->node.data = c;
|
||||||
|
|
||||||
#ifdef XWAYLAND
|
|
||||||
/* Handle unmanaged clients first so we can return prior create borders */
|
/* Handle unmanaged clients first so we can return prior create borders */
|
||||||
if (client_is_unmanaged(c)) {
|
if (client_is_unmanaged(c)) {
|
||||||
client_get_geometry(c, &c->geom);
|
client_get_geometry(c, &c->geom);
|
||||||
|
@ -1540,7 +1539,6 @@ mapnotify(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
goto unset_fullscreen;
|
goto unset_fullscreen;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 4; i++) {
|
||||||
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);
|
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);
|
||||||
|
|
Loading…
Reference in a new issue