Skip to content

Commit

Permalink
exo: Flush gamepad added events properly.
Browse files Browse the repository at this point in the history
Bug: 833986
Test: No delay in arc++ when adding new gamepad.
Change-Id: If314b5c7af90b7c308a13abf51bff5e5d27e9b77
Reviewed-on: https://chromium-review.googlesource.com/1015550
Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
Commit-Queue: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551452}
  • Loading branch information
reveman-chromium authored and Commit Bot committed Apr 17, 2018
1 parent 0134bec commit 5eee69f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/exo/wayland/server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4399,6 +4399,7 @@ class WaylandGamingSeatDelegate : public GamingSeatDelegate {

zcr_gaming_seat_v2_send_gamepad_added(gaming_seat_resource_,
gamepad_resource);
wl_client_flush(wl_resource_get_client(gaming_seat_resource_));

return gamepad_delegate;
}
Expand Down

0 comments on commit 5eee69f

Please sign in to comment.