libweston-desktop: Add get_position

Plumb the new weston_desktop_api_get_position() through to xwayland.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman
2022-06-22 14:08:23 -05:00
committed by Pekka Paalanen
parent d615abdffd
commit 23e3a3285a
2 changed files with 16 additions and 0 deletions
+3
View File
@@ -61,6 +61,9 @@ struct weston_desktop_xwayland_interface {
void (*set_maximized)(struct weston_desktop_xwayland_surface *shsurf);
void (*set_minimized)(struct weston_desktop_xwayland_surface *shsurf);
void (*set_pid)(struct weston_desktop_xwayland_surface *shsurf, pid_t pid);
void (*get_position)(struct weston_desktop_xwayland_surface *surface,
int32_t *x, int32_t *y);
};
#endif