]> git.mdlowis.com Git - proto/labwc.git/commit
action: fix menu position with "x"/"y" arguments in multi-monitor setup
authortokyo4j <hrak1529@gmail.com>
Sun, 8 Dec 2024 08:59:56 +0000 (17:59 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 8 Dec 2024 17:00:03 +0000 (17:00 +0000)
commit5e422a0bc2f2f8cb14d154f6891859ae330e9d75
tree43c24d27952baf54f13f431bf358f62494520b16
parent21bd5b0025dac3d524551fcd5caa6658a740aa0a
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.
include/labwc.h
src/action.c