Update SDL3 from 3.2.4 to 3.2.20
This commit is contained in:
@@ -660,7 +660,8 @@ void X11_CreateInputContext(SDL_WindowData *data)
|
||||
NULL);
|
||||
X11_XFree(attr);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if (!data->ic) {
|
||||
data->ic = X11_XCreateIC(videodata->im,
|
||||
XNInputStyle, XIMPreeditNothing | XIMStatusNothing,
|
||||
XNClientWindow, data->xwindow,
|
||||
@@ -761,7 +762,9 @@ void X11_ShowScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window, SDL_Prop
|
||||
break;
|
||||
}
|
||||
(void)SDL_snprintf(deeplink, sizeof(deeplink),
|
||||
"steam://open/keyboard?XPosition=0&YPosition=0&Width=0&Height=0&Mode=%d",
|
||||
"steam://open/keyboard?XPosition=%i&YPosition=%i&Width=%i&Height=%i&Mode=%d",
|
||||
window->text_input_rect.x, window->text_input_rect.y,
|
||||
window->text_input_rect.w, window->text_input_rect.h,
|
||||
mode);
|
||||
SDL_OpenURL(deeplink);
|
||||
videodata->steam_keyboard_open = true;
|
||||
|
||||
Reference in New Issue
Block a user