- Dec 25, 2022
-
- Dec 22, 2022
-
- Dec 09, 2022
-
-
(cherry picked from commit ec846adb)
-
- Dec 08, 2022
-
-
(cherry picked from commit 32d00984)
-
- Dec 07, 2022
-
-
Now, it is checked whether an output pixel corresponds to an integer number of buffer pixels; if it doesn't, the region is altered to take this into account. (cherry picked from commit 5477ad7d)
- Nov 30, 2022
-
- Nov 29, 2022
-
-
Simon Zeni authored
(cherry picked from commit 0611c109)
-
(cherry picked from commit 338e0a39)
-
...when only one edge is anchored. The layer-shell protocol specifies that a positive exclusive-zone value is 'meaningful' if the surface is anchored to either: 1. one edge 2. one edge and both perpendicular edges. For example, if you wish to position a layer-shell client along the top edge and make it exclusive, you should be able to either set anchor=TOP or anchor=TOP|LEFT|RIGHT. It appears that many panels/bars use the latter approach (anchor to an edge and also both perpendicular edges) which is probably why this has not been reported previously. This patch adds support for the first case and thereby makes exclusive zone behaviour consistent with the protocol and also with sway's extant layer-shell implementation. (cherry picked from commit 8e80432a)
-
- Nov 24, 2022
-
-
Fixes In file included from /usr/include/wayland-server-core.h:32, from ../types/seat/wlr_seat_pointer.c:6: In function 'wl_fixed_from_double', inlined from 'wlr_seat_pointer_send_axis' at ../types/seat/wlr_seat_pointer.c:367:6: /usr/include/wayland-util.h:641:17: error: 'low_res_value' may be used uninitialized [-Werror=maybe-uninitialized] 641 | u.d = d + (3LL << (51 - 8)); | ~~^~~~~~~~~~~~~~~~~~~ ../types/seat/wlr_seat_pointer.c: In function 'wlr_seat_pointer_send_axis': ../types/seat/wlr_seat_pointer.c:329:16: note: 'low_res_value' was declared here 329 | double low_res_value; | ^~~~~~~~~~~~~
-
- Nov 17, 2022
-
-
Simon Ser authored
Fixes: 65836ce3 ("backend/drm: log modesetting commits") Closes: wlroots/wlroots#3534 (cherry picked from commit a40ba16a)
-
32daa43a has removed the asymmetry in the relationship of a wlr_surface and an unmapped wlr_xwayland_surface, when wlr_surface.role_data wasn't NULL but wlr_xwayland_surface.surface was. However, this also means that wlr_xwayland_surface_from_wlr_surface() now returns NULL if the wlr_surface is unmapped. Fix the documentation to reflect this. (cherry picked from commit 627a5c51)
-
- Nov 16, 2022
-
-
Simon Ser authored
It doesn't make sense to request a page-flip for a disabled output. Fixes: 84e727da ("backend/drm: request page-flip event on modeset") Closes: wlroots/wlroots#3528 (cherry picked from commit f863b93c)
-
`modifiers` and `external_only` are never initialized, and free'd later. This commit explicitly initializes them to NULL to prevent segfaults on `free()` (cherry picked from commit ed719157)
- Nov 11, 2022
-
-
wlr_buffer allows mutation during its lifetime. This happens for wlr_client_buffer which fixes damage tracking issues.
-
Kirill Primak authored
-
Add private interface to ignore a buffer that's locking a client_buffer for damage tracking. This should eventually be replaced by wlr_raster.
- Nov 08, 2022
-
-
illiliti authored
-
Simon Ser authored
This reverts commit e646d882. This commit has added a dependency on udev_hwdb. This API isn't available on all platforms (e.g. FreeBSD), and further deepens our udev dependency. A better solution is being worked on in [1]. [1]: wlroots/wlroots!3638
-
-
This allows addons to access wlr_scene_node/wlr_scene_surface fields to clean up themselves.
-
-
Kirill Primak authored
This reverts commit 9fefeb69. It doesn't really crop anything, actually.
-
Added wlr_vk_renderer_get_* functions to allow get the VkInstance, VkPhysicalDevice, VkDevice, queue family of a wlr_vk_renderer. Added wlr_vk_renderer_get_current_image_attribs function to allow get the VkImage of current renderer buffer to use on compositors. Added wlr_renderer_is_vk function, it's like the wlr_renderer_is_gles2, returns true if the wlr_renderer is a wlr_vk_renderer. Added wlr_vk_image_get_attribs function to get a VkImage and it's extras information (e.g. a VkImageLayout and VkImageFormat of the VkImage) from a wlr_texture.
-
-
This fixes e.g. `weston-simple-damage --use-viewport` which technically renders at the buffer scale of 0.5.
-
- Nov 07, 2022
-
-
Avoids the need to open-code the realloc() logic.
-
-
Kirill Primak authored
Fixes: #3372
-
Simon Ser authored
In wlroots we add comments near struct wl_list members to indicate which type it's linked to. The Vulkan renderer had some comments with mistakes, and some members without a comment.
-