With
2ade6a1, negative x-values can be passed to menu_configure() when the
window menu is opened from top-left button in a maximized window, but
wlr_output_layout_output_at() couldn't find the output for the coordinate
since it's out of the output layout, thus it just opened the menu without
updating its position.
As the next release is close and the visual improvement by
2ade6a1 is not
very impactful for UX, let's revert it for now.
assert(ctx->node);
int ly;
wlr_scene_node_coords(ctx->node, &x, &ly);
- x -= server->theme->menu_border_width;
}
}