mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
wlroots: adapt to scene fractional position changes
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
909a2ddb5f
commit
fb44dabd97
6 changed files with 10 additions and 7 deletions
|
|
@ -627,7 +627,7 @@ void arrange_popups(struct wlr_scene_tree *popups) {
|
|||
SWAY_SCENE_DESC_POPUP);
|
||||
|
||||
if (popup) {
|
||||
int lx, ly;
|
||||
double lx, ly;
|
||||
wlr_scene_node_coords(popup->relative, &lx, &ly);
|
||||
wlr_scene_node_set_position(node, lx, ly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue