|
|
@ -612,11 +612,13 @@ void arrange_popups(struct wlr_scene_tree *popups) {
|
|
|
|
struct sway_popup_desc *popup = scene_descriptor_try_get(node,
|
|
|
|
struct sway_popup_desc *popup = scene_descriptor_try_get(node,
|
|
|
|
SWAY_SCENE_DESC_POPUP);
|
|
|
|
SWAY_SCENE_DESC_POPUP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (popup) {
|
|
|
|
int lx, ly;
|
|
|
|
int lx, ly;
|
|
|
|
wlr_scene_node_coords(popup->relative, &lx, &ly);
|
|
|
|
wlr_scene_node_coords(popup->relative, &lx, &ly);
|
|
|
|
wlr_scene_node_set_position(node, lx, ly);
|
|
|
|
wlr_scene_node_set_position(node, lx, ly);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void arrange_root(struct sway_root *root) {
|
|
|
|
static void arrange_root(struct sway_root *root) {
|
|
|
|
struct sway_container *fs = root->fullscreen_global;
|
|
|
|
struct sway_container *fs = root->fullscreen_global;
|
|
|
|