mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
server: use the event sending wrappers
This exposes some type mismatches that are fixed in the next commit. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
86a5d17afe
commit
5ee70146c6
3 changed files with 32 additions and 48 deletions
|
|
@ -178,10 +178,8 @@ bind_shm(struct wl_client *client,
|
|||
resource = wl_client_add_object(client, &wl_shm_interface,
|
||||
&shm_interface, id, data);
|
||||
|
||||
wl_resource_post_event(resource, WL_SHM_FORMAT,
|
||||
WL_SHM_FORMAT_ARGB8888);
|
||||
wl_resource_post_event(resource, WL_SHM_FORMAT,
|
||||
WL_SHM_FORMAT_XRGB8888);
|
||||
wl_shm_send_format(resource, WL_SHM_FORMAT_ARGB8888);
|
||||
wl_shm_send_format(resource, WL_SHM_FORMAT_XRGB8888);
|
||||
}
|
||||
|
||||
WL_EXPORT struct wl_shm *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue