[PATCH 2/6] winex11: Refactor XIM input style selection.