winex11.drv: Fix xim_set_focus no IC condition check.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56236
This commit is contained in:
parent
a9cc6f0218
commit
dd44e2e6d6
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ XIC X11DRV_get_ic( HWND hwnd )
|
|||
void xim_set_focus( HWND hwnd, BOOL focus )
|
||||
{
|
||||
XIC xic;
|
||||
if ((xic = X11DRV_get_ic( hwnd ))) return;
|
||||
if (!(xic = X11DRV_get_ic( hwnd ))) return;
|
||||
if (focus) XSetICFocus( xic );
|
||||
else XUnsetICFocus( xic );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue