diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2020-06-25 17:56:41 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2020-07-07 13:47:11 +0000 |
commit | 12af425acd3f4a3a8aa85352857b130b0006b83c (patch) | |
tree | 9d500c9641b73d3c258eb6c2c8e9c67efb5370da /hw/xwayland/xwayland-pixmap.c | |
parent | 9eb0b4f731e21952f93e168900f10bf07e261107 (diff) | |
download | xserver-12af425acd3f4a3a8aa85352857b130b0006b83c.tar.gz |
xwayland: Rename xwl_pixmap_cb → xwl_buffer_release_cb
Seems clearer.
While we're at it, also drop the unused pixmap parameter.
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'hw/xwayland/xwayland-pixmap.c')
-rw-r--r-- | hw/xwayland/xwayland-pixmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xwayland/xwayland-pixmap.c b/hw/xwayland/xwayland-pixmap.c index fef6fa4cf..6e797a34c 100644 --- a/hw/xwayland/xwayland-pixmap.c +++ b/hw/xwayland/xwayland-pixmap.c @@ -41,7 +41,7 @@ static DevPrivateKeyRec xwl_pixmap_private_key; static DevPrivateKeyRec xwl_pixmap_cb_private_key; struct xwl_pixmap_buffer_release_callback { - xwl_pixmap_cb callback; + xwl_buffer_release_cb callback; void *data; }; @@ -59,7 +59,7 @@ xwl_pixmap_get(PixmapPtr pixmap) Bool xwl_pixmap_set_buffer_release_cb(PixmapPtr pixmap, - xwl_pixmap_cb func, void *data) + xwl_buffer_release_cb func, void *data) { struct xwl_pixmap_buffer_release_callback *xwl_pixmap_buffer_release_callback; @@ -107,7 +107,7 @@ xwl_pixmap_buffer_release_cb(void *data, struct wl_buffer *wl_buffer) &xwl_pixmap_cb_private_key); if (xwl_pixmap_buffer_release_callback) (*xwl_pixmap_buffer_release_callback->callback) - (pixmap, xwl_pixmap_buffer_release_callback->data); + (xwl_pixmap_buffer_release_callback->data); } Bool |