mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
view: fix child position calc
Previously, the position was calculated incorrectly for nested subsurfaces.
This commit is contained in:
parent
adf9e16c88
commit
e76e13ef85
3 changed files with 22 additions and 34 deletions
|
|
@ -183,7 +183,7 @@ struct sway_xwayland_unmanaged {
|
|||
struct sway_view_child;
|
||||
|
||||
struct sway_view_child_impl {
|
||||
void (*get_root_coords)(struct sway_view_child *child, int *sx, int *sy);
|
||||
void (*get_view_coords)(struct sway_view_child *child, int *sx, int *sy);
|
||||
void (*destroy)(struct sway_view_child *child);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue