weston/clients
Leandro Ribeiro 8ea328471b clients: fix build issue with simple-im
Since glibc version 2.43, bsearch may return const void * instead of
void * when the input array is const:

"For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return
pointers into their input arrays now have definitions as macros that
return a pointer to a const-qualified type when the input argument is a
pointer to a const-qualified type."

So change variable that receives the return value from bsearch to const,
as the input array has the const qualifier. This fixes a "discards const
qualifier from pointer" error.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2026-03-11 08:29:05 +02:00
..
calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
clickdot.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
cliptest.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
color.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
constraints.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
content_protection.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
desktop-shell.c desktop-shell: Force scale to 1 for single pixel buffer 2025-10-18 11:51:05 -05:00
dnd.c cliients/dnd: Fix self-only mode 2025-10-21 05:47:29 +00:00
editor.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
eventdemo.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
flower.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
fullscreen.c clients/fullscreen: Add option to map window fullscreen 2025-01-06 12:17:40 +00:00
image.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-shell-user-interface.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
keyboard.c weston-keyboard: Create input_panel_surface earlier 2023-11-21 13:30:51 +00:00
meson.build clients: Add a commit-timing test client 2025-12-16 10:58:01 -06:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
presentation-shm.c compositor: Update to presentation-timing version 2 2025-12-16 10:21:43 -06:00
resizor.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
scaler.c clients/scaler: check viewporter availability 2023-05-02 18:02:33 +03:00
screenshot.c clients: screenshot: YUV support 2025-10-07 11:48:33 +02:00
simple-damage.c clients/simple-damage: Remove zwp_fullscreen support 2024-05-27 16:49:21 +00:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: Add missing destructors 2025-05-23 20:36:05 +01:00
simple-dmabuf-feedback.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-v4l.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-vulkan.c clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple-egl.c clients/simple-egl: destroy tearing_manager on exit 2025-04-02 06:34:13 +00:00
simple-im.c clients: fix build issue with simple-im 2026-03-11 08:29:05 +02:00
simple-shm.c simple-shm: Allow to make simple-shm fullscreen with just the keyboard 2025-10-24 22:31:39 +01:00
simple-timing.c simple-timing: Use don't use the frame callback mechanism 2026-01-06 09:10:53 -06:00
simple-touch.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-vulkan.c clients/simple-vulkan: move render_done semaphore to image 2025-06-25 14:12:22 +00:00
simple_dmabuf_vulkan_fragment_shader.frag clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_dmabuf_vulkan_vertex_shader.vert clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_fragment_shader.frag clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_vertex_shader.vert clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
smoke.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
stacking.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
subsurfaces.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
tablet.c clients: Add demo application for tablets 2023-03-31 12:10:26 +00:00
terminal.c terminal: Restore SIGPIPE signal handler to oldact (SIG_DFL) 2025-03-13 10:37:08 +02:00
touch-calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
transformed.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
weston-debug.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
window.c clients/window: Fix segfault when dragging with touchscreen 2026-02-09 00:32:42 -08:00
window.h clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00