diff options
author | Derek Foreman <derek.foreman@collabora.com> | 2022-02-04 08:02:26 -0600 |
---|---|---|
committer | Derek Foreman <derek.foreman@collabora.com> | 2023-02-24 18:44:19 +0000 |
commit | 59a0bd99bd17753346600688e8423603ffd5987f (patch) | |
tree | 387acf396dd848fc30285ac6ee2616a50c0f4501 /ivi-shell | |
parent | 5e353d523ff77b3004cfe428bd1e0ba59e2c0bcc (diff) | |
download | weston-59a0bd99bd17753346600688e8423603ffd5987f.tar.gz |
libweston: Use weston_coord in surface committed handler
I also snuck in a trivial change to drag_surface_configure at the same
time to avoid yet another micro patch.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/ivi-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 23a2f204..b8745d1d 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -76,7 +76,7 @@ struct ivi_shell_surface */ static void -ivi_shell_surface_committed(struct weston_surface *, int32_t, int32_t); +ivi_shell_surface_committed(struct weston_surface *, struct weston_coord_surface); static struct ivi_shell_surface * get_ivi_shell_surface(struct weston_surface *surface) @@ -117,7 +117,7 @@ shell_surface_send_configure(struct weston_surface *surface, static void ivi_shell_surface_committed(struct weston_surface *surface, - int32_t sx, int32_t sy) + struct weston_coord_surface new_origin) { struct ivi_shell_surface *ivisurf = get_ivi_shell_surface(surface); |