Changeset 1179:7cbf103d3785
- Timestamp:
-
10/31/24 18:39:11
(3 weeks 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:
-
Legend:
- Unmodified
- Added
- Removed
-
r36
|
r1179
|
|
2 | 2 | |
3 | 3 | if __name__ == "__main__": |
| 4 | import os |
| 5 | if os.name != "nt": |
| 6 | os.environ["GDK_BACKEND"] = "x11" |
| 7 | |
4 | 8 | import mlx.mlx |
5 | 9 | mlx.mlx.main() |