forked from joejulian/gio
2f8833d985
Casting a *XClientMessageEvent or *XSelectionEvent to *XEvent is technically incorrect because the union XEvent is the larger structure. Use an XEvent variable as the backing storage for the specialized event types instead. Signed-off-by: Elias Naur <mail@eliasnaur.com>