GdkEventCrossing.focus

true if @window is the focus window or an inferior.

struct GdkEventCrossing
gboolean focus;