Commit f437cf91 authored by David Reveman's avatar David Reveman Committed by Commit Bot

exo: Flush wl_output events properly.

We need call wl_client_flush in order to ensure that these events
are transmitted to the client.

Bug: 824449
Test: gtk-demo --gdk-debug=misc show that output event is received
Change-Id: I18e74339b306ed56c85563628fc8b6af7886fd82
Reviewed-on: https://chromium-review.googlesource.com/1014908Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Commit-Queue: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551397}
parent 4328a3de
...@@ -1343,6 +1343,8 @@ class WaylandDisplayObserver : public display::DisplayObserver { ...@@ -1343,6 +1343,8 @@ class WaylandDisplayObserver : public display::DisplayObserver {
WL_OUTPUT_DONE_SINCE_VERSION) { WL_OUTPUT_DONE_SINCE_VERSION) {
wl_output_send_done(output_resource_); wl_output_send_done(output_resource_);
} }
wl_client_flush(wl_resource_get_client(output_resource_));
} }
// The ID of the display being observed. // The ID of the display being observed.
......
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