Skip to content

XdgTopLevelWindow: Translate window menu coordinate from local

Kai Uwe Broulik requested to merge work/kbroulik/xdg-ctxmenu-req-pos into master

The show_window_menu request is in surface-local coordinates, which include any client-side window shadows.

Translate the menu coordinates so the window shows up in the right spot.


My gedit window menu opens in the right spot now. Still opens in the right spot when maximized (no shadow).

Also verified with Qt bradient client-side decoration.

5.27, too?

Merge request reports

Loading