Changeset 1179:7cbf103d3785


Ignore:
Timestamp:
10/31/24 18:39:11 (6 hours ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Tags:
tip
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • runmlx.py

    r36 r1179  
    22
    33if __name__ == "__main__":
     4    import os
     5    if os.name != "nt":
     6        os.environ["GDK_BACKEND"] = "x11"
     7
    48    import mlx.mlx
    59    mlx.mlx.main()
Note: See TracChangeset for help on using the changeset viewer.