aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-10-23 12:26:25 +0200
committerDrew DeVault <sir@cmpwn.com>2019-10-27 11:07:48 -0400
commit1a253ca7ab123619bcf02e1503fd9a47d2c433e9 (patch)
tree6b795ed68a041c5fb2ad9a3020ef3d7ebddbe4fa /sway
parentad078865438845f1f4732f05414d1fdd3a69560e (diff)
Fix presentation feedback when scanning out fullscreen view
Closes: https://github.com/swaywm/sway/issues/4663
Diffstat (limited to 'sway')
-rw-r--r--sway/desktop/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index beb6ee79..05b5cd44 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -472,6 +472,8 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
return false;
}
+ wlr_presentation_surface_sampled(server.presentation, surface);
+
if (!wlr_output_attach_buffer(wlr_output, surface->buffer)) {
return false;
}