forked from mirror/Archipelago
Core: Add SDL_MOUSE_FOCUS_CLICKTHROUGH=1 environment variable to kvui (#5804)
This variable should fix the 'double click' required when trying to interact with buttons on an unfocused window
This commit is contained in:
1
kvui.py
1
kvui.py
@@ -19,6 +19,7 @@ os.environ["KIVY_NO_CONSOLELOG"] = "1"
|
|||||||
os.environ["KIVY_NO_FILELOG"] = "1"
|
os.environ["KIVY_NO_FILELOG"] = "1"
|
||||||
os.environ["KIVY_NO_ARGS"] = "1"
|
os.environ["KIVY_NO_ARGS"] = "1"
|
||||||
os.environ["KIVY_LOG_ENABLE"] = "0"
|
os.environ["KIVY_LOG_ENABLE"] = "0"
|
||||||
|
os.environ["SDL_MOUSE_FOCUS_CLICKTHROUGH"] = "1"
|
||||||
|
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user