From eb1ddd782b487de4f0a4ae688f39f4ca1aeb3d23 Mon Sep 17 00:00:00 2001 From: Palanix Date: Sun, 3 Oct 2021 12:16:03 +0200 Subject: [PATCH] fix indentation of the braces --- dwl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dwl.c b/dwl.c index 045c178..4c0dfda 100644 --- a/dwl.c +++ b/dwl.c @@ -884,13 +884,12 @@ createnotify(struct wl_listener *listener, void *data) if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) { Client *sel = selclient(); - struct wlr_box pop_box = - { + struct wlr_box pop_box = { .x = sel->geom.x - selmon->m.x, .y = sel->geom.y - selmon->m.y, .width = sel->geom.width, .height = sel->geom.height, - }; + }; wlr_xdg_popup_unconstrain_from_box(xdg_surface->popup, &pop_box); return; }