interactive-x11: beef up select_events a bit
authorRan Benita <ran234@gmail.com>
Fri, 28 Feb 2014 13:12:16 +0000 (15:12 +0200)
committerRan Benita <ran234@gmail.com>
Fri, 28 Feb 2014 13:30:49 +0000 (15:30 +0200)
commit6adf17bd5a01333f63a30d3f0f485207ef8165f5
tree89f670f104bcd0b534ab508b6c16dc769bc9de5f
parentd7c91a15f8ded0407a8391ec8bc8c02fac6fbca3
interactive-x11: beef up select_events a bit

- Specify in detail which parts of the events we care about. In theory
  the X server should not bother us with things we didn't ask for. In
  practice it still does, but oh well.

- Use the _aux version of select_events. This is the correct one to use,
  the non-aux version is useless.

Signed-off-by: Ran Benita <ran234@gmail.com>
test/interactive-x11.c