Commits on Source (8)
-
Copy the check from the pixman renderer. Fixes: #953 Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org> (cherry picked from commit 0e451e8d)
32f55961 -
Fix compilation error when `__builtin_clz` is not available by renaming variable 'u' to 'run' Signed-off-by: Junyu Long <877730493@qq.com> (cherry picked from commit 312c8bea)
efd67899 -
Clients need to know the seat name at the time they create mouse and keyboard objects. This brings Weston in line with other compositors. The documentation upstream currently is not super clear. It states name is explicitly sent on bind, capabilities don't mention being sent on bind in any way. Signed-off-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit fe64eee3)
1e667cf0 -
A new build error sprung up in weston-14 compared to 13.0.0. Fix it. FAILED: tests/liblib_lcms_util.a.p/lcms_util.c.o cc -Itests/liblib_lcms_util.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ tests/liblib_lcms_util.a.p/lcms_util.c.o -MF tests/liblib_lcms_util.a.p/lcms_util.c.o.d -o tests/liblib_lcms_util.a.p/lcms_util.c.o -c ../tests/lcms_util.c In file included from ../tests/lcms_util.c:35: ../include/libweston/matrix.h:33:10: fatal error: wayland-server-protocol.h: No such file or directory 33 | #include <wa...
ca3c5b80 -
Marius Vlad authored
Fix: #951 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> (cherry picked from commit 68bbc4cf)
6d015b47 -
Marius Vlad authored
This change fixes a side-effect of weston_view_move_to_layer helper which would basically unmap the view because the layer entry list is no longer visible. Only add the view to panel layer the first time. Fixes: #956 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> (cherry picked from commit 217fb308)
e056153b -
checks the resource and sends a protocol error if the client tries to send a request to an inert object then returns out of the request handler Signed-off-by: Jeri Li <jeri.li@mediatek.com> (cherry picked from commit 04f27f1b)
502e4bd3 -
Marius Vlad authored
Fixes the following C++ narrow conversion: /include/libweston-14/libweston/matrix.h: In function ‘weston_coord weston_coord_truncate(weston_coord)’: /include/libweston-14/libweston/matrix.h:212:39: error: narrowing conversion of ‘(int)in.weston_coord::x’ from ‘int’ to ‘double’ [-Werror=narrowing] 212 | return (struct weston_coord){ (int)in.x, (int)in.y }; | ^~~~~~~~~ /home/mvlad/install-new/include/libweston-14/libweston/matrix.h:212:50: error: narrowing conversion of ‘(int)in.weston_coord::y’ from ‘int’ to ‘double’ [-Werror=narrowing] 212 | return (struct weston_coord){ (int)in.x, (int)in.y }; Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Derek Foreman <derek.foreman@collabora.com> (cherry picked from commit a501acd2)
7eaba52a