aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpino-desktop <xmvziron>2023-01-08 17:37:24 +0100
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-02-13 13:43:28 -0600
commitf8373ccf2581fa481602bbb7528ba8871f6d5c85 (patch)
treeef55206c9618935ce75b6bf52424d8259a8f23bc
parent7f9a21247613a0d8ba6575869220e29071a40c64 (diff)
Fixed 'unused variable' compiler warning.
-rw-r--r--dwl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index efd6977..27d051f 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1526,7 +1526,6 @@ mapnotify(struct wl_listener *listener, void *data)
}
c->scene->node.data = c->scene_surface->node.data = c;
-#ifdef XWAYLAND
/* Handle unmanaged clients first so we can return prior create borders */
if (client_is_unmanaged(c)) {
client_get_geometry(c, &c->geom);
@@ -1540,7 +1539,6 @@ mapnotify(struct wl_listener *listener, void *data)
}
goto unset_fullscreen;
}
-#endif
for (i = 0; i < 4; i++) {
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);