mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
parent
b0b07dc516
commit
107c82106c
1 changed files with 2 additions and 0 deletions
|
@ -3965,7 +3965,9 @@ bool FurnaceGUI::init() {
|
||||||
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS,"0");
|
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS,"0");
|
||||||
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS,"0");
|
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS,"0");
|
||||||
// don't disable compositing on KWin
|
// don't disable compositing on KWin
|
||||||
|
#if SDL_VERSION_ATLEAST(2,0,22)
|
||||||
SDL_SetHint(SDL_HINT_X11_WINDOW_TYPE,"_NET_WM_WINDOW_TYPE_NORMAL");
|
SDL_SetHint(SDL_HINT_X11_WINDOW_TYPE,"_NET_WM_WINDOW_TYPE_NORMAL");
|
||||||
|
#endif
|
||||||
|
|
||||||
SDL_Init(SDL_INIT_VIDEO);
|
SDL_Init(SDL_INIT_VIDEO);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue