Commit 254fcc9
committed
Revert "video: Prefer Wayland over X11"
This reverts commit 8ceba27.
SDL Wayland support is stable, but there are a number of issues with third-party software (NVIDIA drivers, libwayland event overflow, libdecor not handling plugin load failures, Steam overlay not working with Wayland, etc.) that make it better to default to X11 at this time.
Games which would like to prefer wayland when available can use the following code before SDL_Init():
SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
Fixes #55271 parent c1336b2 commit 254fcc9
1 file changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
4271 | 4271 | | |
4272 | 4272 | | |
4273 | 4273 | | |
4274 | | - | |
4275 | | - | |
4276 | | - | |
4277 | 4274 | | |
4278 | 4275 | | |
4279 | 4276 | | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
4280 | 4280 | | |
4281 | 4281 | | |
4282 | 4282 | | |
| |||
4384 | 4384 | | |
4385 | 4385 | | |
4386 | 4386 | | |
4387 | | - | |
| 4387 | + | |
4388 | 4388 | | |
4389 | | - | |
4390 | | - | |
| 4389 | + | |
| 4390 | + | |
4391 | 4391 | | |
4392 | 4392 | | |
4393 | 4393 | | |
4394 | | - | |
| 4394 | + | |
4395 | 4395 | | |
4396 | | - | |
4397 | | - | |
| 4396 | + | |
| 4397 | + | |
4398 | 4398 | | |
4399 | 4399 | | |
4400 | 4400 | | |
| |||
0 commit comments