Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-15 | backend/drm: use wlr_swapchain | Simon Ser | |
2020-11-15 | render/gles2: fix y-inverted output when rendering to buffer | Simon Ser | |
2020-11-15 | render/gles2: implement wlr_renderer_bind_buffer | Simon Ser | |
2020-11-15 | render: introduce wlr_renderer_bind_buffer | Simon Ser | |
2020-11-15 | buffer: add wlr_client_buffer_get | Simon Ser | |
2020-11-15 | render: introduce wlr_swapchain | Simon Ser | |
The swapchain maximum capacity is set to 4, so that we have enough room for: - A buffer currently displayed on screen - A buffer queued for display (e.g. to KMS) - A pending buffer that'll be queued next commit - An additional pending buffer in case we want to invalidate the currently pending one | |||
2020-11-15 | render/drm_format_set: introduce wlr_drm_format_dup | Simon Ser | |
2020-11-15 | render: introduce wlr_gbm_allocator | Simon Ser | |
2020-11-15 | render: introduce wlr_allocator | Simon Ser | |
2020-11-15 | backend/libinput: require libinput 1.14 | Simon Ser | |
We have the policy of requiring up-to-date dependencies instead of adding conditionals for older versions. libinput 1.14 was published more than 1 year ago. | |||
2020-11-12 | backend/wayland: Set cursor indivdualy per output | Mykola Orliuk | |
2020-11-12 | backend/wayland: Add active pointer per host seat | Mykola Orliuk | |
Every host seat with pointer capability propagates events to one of sub-pointer depending which output window we entered. active_pointer tracks reference to sub-pointer on enter/leave events to avoid lookup for it on every move events. Fixes swaywm/wlroots#1499 | |||
2020-11-12 | backend/wayland: Bind pointer listener to seat | Mykola Orliuk | |
2020-11-12 | backend/wayland: Listen to pointers from all seats | Mykola Orliuk | |
This effectively gets swaywm/wlroots#1499 to the point where functionality somewhat preserved and no crash happens. We still can have only one cursor, but we can control it from multiple seats in time-sharing manner by entering/leaving output. | |||
2020-11-12 | backend/wayland: Use seat name in input names | Mykola Orliuk | |
2020-11-12 | backend/wayland: Add registering multiple seats | Mykola Orliuk | |
2020-11-12 | backend/wayland: Link input devices with seats | Mykola Orliuk | |
2020-11-12 | backend/wayland: Bind seat listener to wlr_wl_seat | Mykola Orliuk | |
2020-11-11 | Remove unneeded includes from wlr_input_device.h | Isaac Freund | |
This uncovered many places where we were using things without directly including them. | |||
2020-11-11 | Use uint32_t in wlr_renderer_begin signature | Isaac Freund | |
This matches the signature of wlr_renderer_impl.begin | |||
2020-11-11 | Replace wlr_key_state with wl_keyboard_key_state | Isaac Freund | |
There's no reason to have duplicate enums | |||
2020-11-08 | Update version to 0.12.0 | Simon Ser | |
2020-11-08 | xdg_shell: handle inert popups | Ilia Bozhinov | |
xdg_popups can be destroyed by the compositor when closed. When this happens, wlroots makes the xdg_popup surface inert and resets the xdg_surface role to NONE. Currently, wlroots sends a protocol error and asserts that an xdg_surface has a role when committed. This is racy if at the same time the client commits an xdg_popup and the compositor closes it. This patch removes the assertion and ignores commits on xdg_surfaces without a role set. | |||
2020-11-06 | input-method: send modifiers in set_keyboard | Simon Ser | |
Otherwise the client might have an outdated modifiers state. The same is done in wlr_seat_keyboard [1]. [1]: https://github.com/swaywm/wlroots/blob/8348fc3ef8b992fce097bef81111eda3677957f4/types/seat/wlr_seat_keyboard.c#L163 | |||
2020-11-05 | xwayland: remove unused listener | Isaac Freund | |
2020-11-05 | screencopy: send failed when copying a DMA-BUF with a region | Simon Ser | |
We don't support that yet. | |||
2020-11-05 | screencopy: perform DMA-BUF copy on output commit | Simon Ser | |
2020-11-05 | export-dmabuf: export DMA-BUF on output commit | Simon Ser | |
We were previously exporting DMA-BUFs when receiving the capture_output request, and sending a done event on wlr_output.events.precommit. Instead, export and send done on wlr_output.events.commit. | |||
2020-11-05 | output: add when field to wlr_output_event_commit | Simon Ser | |
Similar to the one already present in wlr_output_event_precommit. | |||
2020-11-05 | output: update docs to reflect reality | Simon Ser | |
The docs were outdated and weren't matching what the DRM backend does (the only implementor of wlr_output_export_dmabuf). | |||
2020-11-05 | backend/drm: export pending FB in export_dmabuf, if any | Simon Ser | |
This allows callers to grab the current frame right after committing it, without having to incur a full vblank worth of latency. | |||
2020-11-04 | screencopy: stop setting needs_frame flag | Simon Ser | |
This is already done by wlr_output_schedule_frame (it calls wlr_output_update_needs_frame). | |||
2020-11-03 | gamma-control-v1: apply gamma LUT when output gets enabled | Simon Ser | |
Closes: https://github.com/swaywm/wlroots/issues/2372 | |||
2020-11-03 | xwayland: log unhandled NET_WM_STATE property changes | Simon Ser | |
2020-11-03 | xwayland: minor code style fixes | Simon Ser | |
2020-11-03 | backend/drm: fix "a page-flip is already pending" errors on modeset | Simon Ser | |
When performing a modeset, the DRM backend will request a page-flip event. However frame_pending wasn't set to true, so any subsequent wlr_output_schedule_frame calls would imemdiately trigger a synthetic frame event, asking the compositor to submit a new frame. Committing the new frame fails with "a page-flip is already pending" error in the DRM backend. | |||
2020-11-02 | render: define EGL_NO_PLATFORM_SPECIFIC_TYPES (#2452) | Simon Ser | |
This avoids Xlib.h inclusion via EGL headers. See [1] for discussion. This change is based on a Weston commit [2]. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/111 [2]: https://gitlab.freedesktop.org/wayland/weston/commit/526765ddfdfd | |||
2020-10-31 | render/dmabuf: use bitmask for wlr_dmabuf_attributes_flags | Tudor Brindus | |
2020-10-31 | util/edges: use bitmask for wlr_edges | Tudor Brindus | |
2020-10-31 | types/wlr_output_layout: use bitmask for wlr_direction | Tudor Brindus | |
2020-10-31 | types/wlr_keyboard: use bitmasks for wlr_keyboard_led and ↵ | Tudor Brindus | |
wlr_keyboard_modifier enums | |||
2020-10-30 | backend/drm: Check if output is enabled before sending frame event | Marten Ringwelski | |
When an output is disabled one last pageflip will happen to disable it. Currently this pageflip causes a frame event. Since the output is disabled we don't want to send this frame event. | |||
2020-10-27 | xdg_shell: fix a typo | Ilia Bozhinov | |
2020-10-20 | foreign toplevel: Fix whitespace error | Scott Moreau | |
2020-10-20 | foreign toplevel: send parent event only to clients that support it | Daniel Kondor | |
2020-10-20 | xwayland: fix minor typo in debug log | Tudor Brindus | |
This accidentally slipped through 1b0e4c7. | |||
2020-10-18 | backend/wayland: fix some keyboard/touch leaks | Mykola Orliuk | |
2020-10-18 | backend/wayland: fix input creation error handling | Mykola Orliuk | |
2020-10-18 | backend/wayland: add error flow in create_wl_seat | Mykola Orliuk | |
2020-10-18 | foreign-toplevel-management: report parent toplevel | Daniel Kondor | |
Based on the wlr-protocols PR: https://github.com/swaywm/wlr-protocols/pull/52 |