source: runmlx.py

python3
Last change on this file was 1179:7cbf103d3785, checked in by István Váradi <ivaradi@…>, 5 months ago

X11 Gdk backend is forced on Linux to allow CEF running on Wayland

File size: 174 bytes
RevLine 
[20]1# Script to run the logger
2
3if __name__ == "__main__":
[1179]4 import os
5 if os.name != "nt":
6 os.environ["GDK_BACKEND"] = "x11"
7
[27]8 import mlx.mlx
[36]9 mlx.mlx.main()
Note: See TracBrowser for help on using the repository browser.