Merge pull request #77 from Dominicentek/linuxcomp-fix

fix linux compositor
This commit is contained in:
Agent X 2024-02-25 09:45:14 -05:00 committed by GitHub
commit e1db5d5e04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ static void gfx_sdl_reset_dimension_and_pos(void) {
}
static void gfx_sdl_init(const char *window_title) {
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
SDL_Init(SDL_INIT_VIDEO);
SDL_StartTextInput();