distribution/packages/wayland/weston/patches/002-weston-image.patch

96 lines
2.3 KiB
Diff
Raw Normal View History

2023-12-23 15:41:46 +00:00
diff --git a/clients/image.c b/clients/image.c
index 63a5cefb..eedbefa2 100644
--- a/clients/image.c
+++ b/clients/image.c
@@ -402,7 +402,7 @@ image_create(struct display *display, const char *filename,
widget_set_button_handler(image->widget, button_handler);
widget_set_axis_handler(image->widget, axis_handler);
window_set_key_handler(image->window, key_handler);
- widget_schedule_resize(image->widget, 500, 400);
+ widget_schedule_resize(image->widget, 480, 320);
return image;
}
2023-12-18 18:03:18 +00:00
diff --git a/clients/meson.build b/clients/meson.build
index 2fe10956..38000b41 100644
--- a/clients/meson.build
+++ b/clients/meson.build
@@ -267,77 +267,7 @@ foreach t : tools_list
endforeach
demo_clients = [
- { 'basename': 'clickdot' },
- {
- 'basename': 'cliptest',
- 'dep_objs': [ dep_vertex_clipping, dep_matrix_c ]
- },
- { 'basename': 'confine' },
- {
- 'basename': 'content_protection',
- 'add_sources': [
- weston_content_protection_client_protocol_h,
- weston_content_protection_protocol_c,
- ]
- },
-
- { 'basename': 'dnd' },
- {
- 'basename': 'editor',
- 'add_sources': [
- text_input_unstable_v1_client_protocol_h,
- text_input_unstable_v1_protocol_c,
- ],
- 'deps': [ 'pangocairo', 'gobject-2.0' ]
- },
- { 'basename': 'eventdemo' },
- { 'basename': 'flower' },
- {
- 'basename': 'fullscreen',
- 'add_sources': [
- fullscreen_shell_unstable_v1_client_protocol_h,
- fullscreen_shell_unstable_v1_protocol_c,
- ]
- },
{ 'basename': 'image' },
- {
- 'basename': 'multi-resource',
- 'add_sources': [
- xdg_shell_client_protocol_h,
- xdg_shell_protocol_c,
- ]
- },
- {
- 'basename': 'presentation-shm',
- 'add_sources': [
- presentation_time_client_protocol_h,
- presentation_time_protocol_c,
- xdg_shell_client_protocol_h,
- xdg_shell_protocol_c,
- ]
- },
- { 'basename': 'resizor' },
- {
- 'basename': 'scaler',
- 'add_sources': [
- viewporter_client_protocol_h,
- viewporter_protocol_c,
- ]
- },
- { 'basename': 'smoke' },
- { 'basename': 'stacking' },
- {
- 'basename': 'subsurfaces',
- 'deps': [ 'egl', 'glesv2', 'wayland-egl' ]
- },
- {
- 'basename': 'tablet',
- 'add_sources': [
- tablet_unstable_v2_client_protocol_h,
- tablet_unstable_v2_protocol_c,
- ],
- },
- { 'basename': 'transformed' },
]
if get_option('demo-clients')