Function XdgToplevel.showWindowMenu

show the window menu

void showWindowMenu (
  wayland.client.protocol.WlSeat seat,
  uint serial,
  int x,
  int y
);

Clients implementing client-side decorations might want to show a context menu when right-clicking on the decorations, giving the user a menu that they can use to maximize or minimize the window.

This request asks the compositor to pop up such a window menu at the given position, relative to the local surface coordinates of the parent surface. There are no guarantees as to what menu items the window menu contains.

This request must be used in response to some sort of user action like a button press, key press, or touch down event.