Gdk_event_handler_set(): How to obtain the native XEvent on X11?

I am doing some experiments porting parts of a Gtk+3 code to XLib. To do it gradually I need to obtain both XEvent and GdkEvent. GdkEvent is currently handled by a function set by gdk_event_handler_set().

Is it possible to get the native XEvent?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.