- Jul 15, 2020
-
-
It allows a compositor to do things like skip motion events on pointer constraint unlock. References: https://github.com/swaywm/sway/pull/5431
- Jul 14, 2020
-
-
eglGetCurrentDisplay() returns EGL_NO_DISPLAY when there is no context current and eglMakeCurrent() needs a display argument. Fixes #2327
-
- Jul 08, 2020
-
- Jul 07, 2020
- Jul 05, 2020
-
- Jul 04, 2020
-
-
Hopefully fixes #2056
-
- Jul 03, 2020
-
-
This improves the failure cases when incremental transfers fail to complete successfully for one reason or another.
-
- Jul 02, 2020
-
-
Simon Ser authored
This mirrors what the atomic code does in create_mode_blob. Closes: https://github.com/swaywm/wlroots/issues/2312
-
- Jul 01, 2020
-
-
-
Because wlr_renderer_blit_dmabuf() undoes y-inversion on the source buffer, it is incorrect to pass the y-inversion flag of the source buffer to the user.
-
-
- Jun 30, 2020
-
-
If Xwayland is restarted, the ready handler assumes there is no xwm instance. This means all of xwm was leaked on Xwayland restart. This caused compositors to consume all cpu resources, where time is spent dispatching. Now we destroy xwm if we get an event mask containing WL_EVENT_HANGUP or WL_EVENT_ERROR.
-
The xwayland ready signals are used to do initial setup like starting xwm. Discarding the signals means that the handler functions will not be called in the case that Xwayland is restarted and thus, xwm managed clients fail. Fixes #2174."
-
Simon Ser authored
-
-
wlr_drag sets up keyboard, pointer and touch grabs, which block 'enter' events (and thus focus changes). For the compositor to be able to update focus (e.g. to focus the drop target) from the destroy handler, the grabs must be released before the destroy event is signalled.
-
- Jun 26, 2020
-
-
This should match default XCURSORPATH, which is used by libwayland-cursor and other xcursor loading libraries more closely.
-
- Jun 25, 2020
-
-
- Jun 24, 2020
-
-
- Jun 20, 2020
-
-
Simon Ser authored
Calling wlr_renderer_end after wlr_output_commit would make an assertion fail.
-
- Jun 19, 2020
-
-
Simon Ser authored
attach_render was called without un-setting the current rendering context afterwards. Closes: https://github.com/swaywm/wlroots/issues/2164
-
Simon Ser authored
If the output backend provides attach_render, assert it also provides a way to revert it via rollback_render.
-
Simon Ser authored
The output backend API is now mostly state-less thanks to the atomic hooks (commit and test). There is one exception though: attach_render. This function makes the rendering context current. However sometimes the compositor might decide not to render after attach_render (e.g. when there's nothing new to render to the back buffer). Thus wlr_output_rollback has been introduced to revert the pending state. Because the output backend API is mostly state-less, the only thing wlr_output_impl.rollback needs to do is revert the current rendering context. Rename the function to rollback_render to make this clear. Add a check in the common wlr_output code to only call rollback_render when attach_buffer has been previously called. On the long term, we'll be able to remove attach_render and rollback_render together.
- Jun 18, 2020
-
-
Simon Ser authored
Allows for easier debugging.
-
Simon Ser authored
According to the viewporter protocol: > If the wl_buffer is NULL, the surface has no content and therefore no size.
-
During surface finalization we may not have received a new buffer, resetting width and height in this case is wrong since we display the old buffer in this case.
-
- Jun 17, 2020
-
-
Will fix Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1643991. Fixes swaywm/sway#5462.
-
Simon Ser authored
Closes: https://github.com/swaywm/wlroots/issues/633
-
Simon Ser authored
This helper allows compositors to retrieve the buffer source box in buffer-local coordinates.
-
Simon Ser authored
This field contains the viewport source and destination parameters. It's intended to be updated by a third-party protocol, for instance viewporter.
-
Simon Ser authored
This renders only a subset of the texture, instead of the full texture.
-
Simon Ser authored
-