x11: Fix x-display-process-events to return #f when all events read.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 29 Jul 2016 06:16:06 +0000 (23:16 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Fri, 29 Jul 2016 07:08:32 +0000 (00:08 -0700)
commit9d087bd97afca21c9d2a44a3887d19205a83466f
tree4848a9f6ea6aaae1ec70b85c9f363e41a1b4f1d9
parent54a4c584792dda1537f5664f2ba854d3c8fa97c1
x11: Fix x-display-process-events to return #f when all events read.

The plugin's version of x_display_process_events will return any
keypress even though some do not translate into any input (e.g. when
it IsModifier).  X-display-process-events would return #f in that case
and preview-events think all events were read.  Now x-display-process-
events returns #t and preview-events disregards it, continuing to read
events.  Many callers must disregard these non-events.

Punt property-notify events in the previewer; do not queue them.
src/runtime/x11graph.scm
src/x11-screen/x11-screen.scm
src/x11/x11-shim.h
src/x11/x11.cdecl
src/x11/x11base.c
src/x11/x11base.scm
src/x11/x11device.scm