[PATCH 1/7] winex11.drv: Initialize XIM before opening it.

Alexandre Julliard julliard at winehq.org
Fri Oct 4 15:15:58 CDT 2019


Zhiyi Zhang <zzhang at codeweavers.com> writes:

> This fixes a regression from 22795243b2d21e1a667215f54c3a15634735749c,
> which calls thread_init_display() and eventually XOpenIM() before
> X11DRV_InitXIM() is called.

It shouldn't be using thread_init_display() here. This shows a deeper
issue: you either have to select for this on all threads, or else in the
desktop thread and forward it to the apps. Selecting only in the thread
that happens to load the driver is not enough.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list