source: runmlx.py@ 1179:7cbf103d3785

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

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

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