mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 10:14:14 +00:00
fix indentation of the braces
This commit is contained in:
parent
bda35440ce
commit
eb1ddd782b
5
dwl.c
5
dwl.c
@ -884,13 +884,12 @@ createnotify(struct wl_listener *listener, void *data)
|
|||||||
|
|
||||||
if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
|
if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
|
||||||
Client *sel = selclient();
|
Client *sel = selclient();
|
||||||
struct wlr_box pop_box =
|
struct wlr_box pop_box = {
|
||||||
{
|
|
||||||
.x = sel->geom.x - selmon->m.x,
|
.x = sel->geom.x - selmon->m.x,
|
||||||
.y = sel->geom.y - selmon->m.y,
|
.y = sel->geom.y - selmon->m.y,
|
||||||
.width = sel->geom.width,
|
.width = sel->geom.width,
|
||||||
.height = sel->geom.height,
|
.height = sel->geom.height,
|
||||||
};
|
};
|
||||||
wlr_xdg_popup_unconstrain_from_box(xdg_surface->popup, &pop_box);
|
wlr_xdg_popup_unconstrain_from_box(xdg_surface->popup, &pop_box);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user