mirror of
https://github.com/labwc/labwc.git
synced 2026-04-03 07:15:34 -04:00
chase wlroots: wlr_xdg_surface_get_geometry remove MR 4788
Ref: 5c98d1a04a1439bf40c6e516086cfaff2d67f135
("xdg-surface: fix window geometry handling")
This commit is contained in:
parent
261126fcd0
commit
1dc4e7ed28
4 changed files with 9 additions and 15 deletions
|
|
@ -230,10 +230,8 @@ update_popup_position(struct input_method_popup *popup)
|
|||
|
||||
if (xdg_surface) {
|
||||
/* Take into account invisible xdg-shell CSD borders */
|
||||
struct wlr_box geo;
|
||||
wlr_xdg_surface_get_geometry(xdg_surface, &geo);
|
||||
cursor_rect.x -= geo.x;
|
||||
cursor_rect.y -= geo.y;
|
||||
cursor_rect.x -= xdg_surface->geometry.x;
|
||||
cursor_rect.y -= xdg_surface->geometry.y;
|
||||
}
|
||||
} else {
|
||||
cursor_rect = (struct wlr_box){0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue