Skip to content

Commit

Permalink
winex11.drv: Ensure initialized thread data in X11DRV_get_ic.
Browse files Browse the repository at this point in the history
Link: #201
  • Loading branch information
Etaash-mathamsetty authored and rbernon committed Dec 19, 2023
1 parent 529e214 commit d085c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/winex11.drv/xim.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ XIC X11DRV_get_ic( HWND hwnd )
XIC ret;

if (!(data = get_win_data( hwnd ))) return 0;
x11drv_thread_data()->last_xic_hwnd = hwnd;
x11drv_init_thread_data()->last_xic_hwnd = hwnd;
if (!(ret = data->xic) && (xim = x11drv_thread_data()->xim))
ret = data->xic = xic_create( xim, hwnd, data->whole_window );
release_win_data( data );
Expand Down

0 comments on commit d085c41

Please sign in to comment.