mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-13 04:27:56 -05:00
Merge branch 'copy-capture' into 'master'
ext_image_copy_capture_v1: Copy irrespective of damage See merge request wlroots/wlroots!5239
This commit is contained in:
commit
68742b0127
1 changed files with 1 additions and 2 deletions
|
|
@ -425,8 +425,7 @@ static void session_handle_source_frame(struct wl_listener *listener, void *data
|
|||
pixman_region32_union(&session->damage, &session->damage, event->damage);
|
||||
|
||||
struct wlr_ext_image_copy_capture_frame_v1 *frame = session->frame;
|
||||
if (frame != NULL && frame->capturing &&
|
||||
!pixman_region32_empty(&session->damage)) {
|
||||
if (frame != NULL && frame->capturing) {
|
||||
pixman_region32_union(&frame->buffer_damage,
|
||||
&frame->buffer_damage, &session->damage);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue