weston/clients
Derek Foreman 5a3f3c7ca7 desktop-shell: Force scale to 1 for single pixel buffer
Now that we use single pixel buffer, we need to be careful to only use
scale of 1, as other scales are supposed to generate an INVALID_SIZE
protocol errors (because the buffer size is not an integer multiple
of the scale).

Right now a bad scale just breaks background repaints, but in the future
we'll properly validate scale, which would cause the shell client to
be disconnected.

Fixes: 6cc8f48cd ("clients: Paint desktop-shell color background with single-pixel-buffer")

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2025-10-18 11:51:05 -05: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 Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02: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: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
presentation-shm.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02: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 Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-shm.c gl-renderer: Fix SHM RGB888 and BGR888 endianness 2025-04-01 12:31:51 +02: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: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00
window.h clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00