Commit 211f7ed0 authored by reveman's avatar reveman Committed by Commit bot

exo: Send damage to compositor when committing new buffer.

BUG=
TEST=wayland_motion_events

Review-Url: https://codereview.chromium.org/2569613002
Cr-Commit-Position: refs/heads/master@{#437781}
parent d8f4f642
......@@ -673,6 +673,7 @@ int MotionEvents::Run() {
if (!frame.callback_pending) {
DCHECK_GT(pending_frames.size(), 0u);
wl_surface_set_buffer_scale(surface.get(), scale_);
wl_surface_damage(surface.get(), 0, 0, width_ / scale_, height_ / scale_);
wl_surface_attach(surface.get(), pending_frames.front(), 0, 0);
pending_frames.pop_front();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment