[PATCH] imm32: Don't generate context unless the window handle is valid.

Alexandre Julliard julliard at winehq.org
Tue Apr 17 02:18:41 CDT 2018


Jimi Huotari <chiitoo at gentoo.org> writes:

> This is completely inspired by comment 14 in the mentioned bug [1], but
> I'm unsure if this is a correct use of 'IMM_IsCrossThreadAccess()' at
> all, and as such, any comments on that will be appreciated!
>
> I imagine it is very possible that this works simply due to the 'else
> if' not being true due to this change, resulting into 'NULL' just as
> well as forcing it in some other way.

Yes, the patch would simply force it to NULL always, so it's most likely
only hiding the real bug.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list