mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
Apply clang-format
This commit is contained in:
parent
bd48cad492
commit
6cbc202662
10 changed files with 99 additions and 145 deletions
|
|
@ -97,14 +97,15 @@ popup_unconstrain(struct cg_xdg_popup *popup)
|
|||
struct wlr_box *popup_box = &popup->wlr_popup->geometry;
|
||||
|
||||
struct wlr_output_layout *output_layout = server->output_layout;
|
||||
struct wlr_output *wlr_output = wlr_output_layout_output_at(output_layout, view->lx + popup_box->x, view->ly + popup_box->y);
|
||||
struct wlr_output *wlr_output =
|
||||
wlr_output_layout_output_at(output_layout, view->lx + popup_box->x, view->ly + popup_box->y);
|
||||
struct wlr_box *output_box = wlr_output_layout_get_box(output_layout, wlr_output);
|
||||
|
||||
struct wlr_box output_toplevel_box = {
|
||||
.x = output_box->x - view->lx,
|
||||
.y = output_box->y - view->ly,
|
||||
.width = output_box->width,
|
||||
.height = output_box->height
|
||||
.height = output_box->height,
|
||||
};
|
||||
|
||||
wlr_xdg_popup_unconstrain_from_box(popup->wlr_popup, &output_toplevel_box);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue