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

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();