mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 20:11:42 +00:00
fix linux compositor
This commit is contained in:
parent
39e997cd48
commit
2546f45955
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#include <SDL2/SDL_hints.h>
|
||||
#define WAPI_SDL2
|
||||
#ifdef WAPI_SDL2
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
|
@ -107,6 +109,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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue