diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-10-25 17:28:03 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-10-26 16:00:09 +0900 |
commit | 22b5ce9548393ba2ff73ee234ecd82eeaf0ef6c4 (patch) | |
tree | a9edf9efe631c5e927d51a2a944603563f3bd62e /src/radeon_exa_shared.c | |
parent | 82d3c8f5500d2a6fb1495e217a0b79c396f1534c (diff) |
Consume all available udev events at once
We get multiple udev events for actions like docking a laptop into its
station or plugging a monitor to the station. By consuming as many
events as we can, we reduce the number of output re-evalutions.
It depends on the timing how many events can be consumed at once.
(Inspired by xserver commit 363f4273dd4aec3e26cc57ecb6c20f27e6c813d8)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_exa_shared.c')
0 files changed, 0 insertions, 0 deletions