Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.24k stars 96 forks source link

Vertical offset of monitor not accounted for in X11 #426

Closed ptwales closed 1 month ago

ptwales commented 1 month ago

My primary monitor is positioned at 0x420 instead of 0x0. The reason why is because my secondary monitor is rotated 90 degrees and at position 1920x0.

xrandr example:

xrandr --output DisplayPort-0 --pos 0x420  --primary
xrandr --output HDMI-A-0      --pos 1920x0 --rotate left

When I run bemenu-run as is, the menu renders off screen. When run with --bottom it renders 420px up from the bottom of the screen. With --center it renders 420px up from the center of the screen.

Works perfectly in wayland though. I'd like to include screenshots but I don't know how to fire spectacle with bemenu running since it grabs keyboard input. I tried -K but it only ignores keyboard input, it still grabs it.