mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
Chase wlroots: xdg_popup.geometry
To update the wlroots subproject use meson subprojects update wlroots https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3514
This commit is contained in:
parent
61675b521c
commit
1e29d0606d
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ static void
|
|||
popup_unconstrain(struct view *view, struct wlr_xdg_popup *popup)
|
||||
{
|
||||
struct server *server = view->server;
|
||||
struct wlr_box *popup_box = &popup->geometry;
|
||||
struct wlr_box *popup_box = &popup->current.geometry;
|
||||
struct wlr_output_layout *output_layout = server->output_layout;
|
||||
struct wlr_output *wlr_output = wlr_output_layout_output_at(
|
||||
output_layout, view->x + popup_box->x, view->y + popup_box->y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue