Package: gdk

Function gdk-window-event-compression

Lambda List

gdk-window-event-compression (window)

Syntax

(gdk-window-event-compression window) => event-compression
(setf (gdk-window-event-compression window) event-compression)

Arguments

window -- a gdk-window object
event-compression -- a true if motion events will be compressed

Details

Determines whether or not extra unprocessed motion events in the event queue can be discarded. If true only the most recent event will be delivered.

Some types of applications, e.g. paint programs, need to see all motion events and will benefit from turning off event compression. By default, event compression is enabled.
 

See also

2020-9-25