48a0d44e67
On FocusOut events, the window could be destroyed while propagating WINDOW_EVENT_FOCUS_OUT event, which causes the WindowData to be invalidated, and still used for calls to XUnsetICFocus. This change moves calls to XUnsetICFocus, and also XSetICFocus in FocusIn events, before propagating the change of focus event to the engine, to be safe in any case. Also setting xic member to nullptr after all calls to XDestroyIC to keep things clean and consistent. Fixes #42645 |
||
---|---|---|
.. | ||
android | ||
iphone | ||
javascript | ||
linuxbsd | ||
osx | ||
server | ||
uwp | ||
windows | ||
register_platform_apis.h | ||
SCsub |