Method

GdkWindowset_event_compression

since: 3.12

Declaration [src]

void
gdk_window_set_event_compression (
  GdkWindow* window,
  gboolean event_compression
)

Description [src]

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.

Available since: 3.12

Parameters

event_compression

Type: gboolean

TRUE if motion events should be compressed.