mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
action: fix menu position with "x"/"y" arguments in multi-monitor setup
Prior to this commit, output-relative coordinate was passed to menu_open_root() as the menu position when it's designated via "x"/"y" arguments in ShowMenu action, so menu can be misplaced to the output other than the one in which the cursor is in.
This commit is contained in:
parent
21bd5b0025
commit
5e422a0bc2
2 changed files with 12 additions and 10 deletions
|
|
@ -397,6 +397,7 @@ struct output {
|
|||
struct wlr_scene_tree *osd_tree;
|
||||
struct wlr_scene_tree *session_lock_tree;
|
||||
struct wlr_scene_buffer *workspace_osd;
|
||||
/* In output-relative scene coordinates */
|
||||
struct wlr_box usable_area;
|
||||
|
||||
struct wl_list regions; /* struct region.link */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue