Function

GdkX11x11_register_standard_event_type

since: 2.4

Declaration [src]

void
gdk_x11_register_standard_event_type (
  GdkDisplay* display,
  gint event_base,
  gint n_events
)

Description [src]

Registers interest in receiving extension events with type codes between event_base and event_base + n_events - 1. The registered events must have the window field in the same place as core X events (this is not the case for e.g. XKB extension events).

If an event type is registered, events of this type will go through global and window-specific filters (see gdk_window_add_filter()). Unregistered events will only go through global filters. GDK may register the events of some X extensions on its own.

This function should only be needed in unusual circumstances, e.g. when filtering XInput extension events on the root window.

Available since: 2.4

Parameters

display

Type: GdkX11Display

A GdkDisplay.

The data is owned by the caller of the function.
event_base

Type: gint

First event type code to register.

n_events

Type: gint

Number of event type codes to register.