sdl12-compat: quirks: force SDL_VIDEODRIVER to x11 for Majesty

From 6d00fccddb090f4e85b3494461dba58de5fcf081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Noel?= <[EMAIL REDACTED]>
Date: Tue, 15 Sep 2026 12:21:42 +0200
Subject: [PATCH] quirks: force SDL_VIDEODRIVER to x11 for Majesty

---
 src/SDL12_compat.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index c32a77a9b..dae581578 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -1482,6 +1482,10 @@ static QuirkEntryType quirks[] = {
     /* Creatures Internet Edition calls SDL_GetWMInfo() and exit if it fails */
     {"lc2e", "SDL_VIDEODRIVER", "x11"},
 
+    /* Majesty: The Fantasy Kingdom Sim */
+    {"majesty", "SDL_VIDEODRIVER", "x11"},
+    {"majx", "SDL_VIDEODRIVER", "x11"},
+
 #elif defined(_WIN32)
     // Penumbra: Overture doesn't like GL scaling.
     {"Penumbra.exe", "SDL12COMPAT_OPENGL_SCALING", "0"},