Re: [Qemu-devel] [PATCH 04/17] ui: Shorten references into InputEvent

2016-02-22 Thread Daniel P. Berrange
On Fri, Feb 19, 2016 at 05:19:34PM -0700, Eric Blake wrote: > An upcoming patch will alter how simple unions, like InputEvent, > are laid out, which will impact all lines of the form 'evt->u.XXX'. > To minimize the impact of that patch, use a temporary variable to > reduce the number of lines

[Qemu-devel] [PATCH 04/17] ui: Shorten references into InputEvent

2016-02-19 Thread Eric Blake
An upcoming patch will alter how simple unions, like InputEvent, are laid out, which will impact all lines of the form 'evt->u.XXX'. To minimize the impact of that patch, use a temporary variable to reduce the number of lines needing modification when an internal reference within InputEvent