Function XdgPositioner.setSize

set the size of the to-be positioned rectangle

void setSize (
  int width,
  int height
);

Set the size of the surface that is to be positioned with the positioner object. The size is in surface-local coordinates and corresponds to the window geometry. See xdg_surface.set_window_geometry.

If a zero or negative size is set the invalid_input error is raised.