aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-01-20 10:57:01 +0100
committerFurkan Sahin <furkan-dev@proton.me>2024-01-20 10:57:01 +0100
commit48a3bbccee994a39006c33607adda03cef670156 (patch)
tree6f08f51db18844703360ac571ad3c11e618dce58 /include
parentd12537657d209afe9c9e842b1b4aa640c1e79959 (diff)
Add debug flag to re-enable wl_drm
670eab852f3f ("Drop wl_drm") has dropped wl_drm, however a lot of software wasn't quite ready for this (Xwayland, libva, amdvlk). Keep wl_drm disabled by default to pressure the wl_drm phase-out, but add a -Dlegacy-wl-drm flag for users to restore the previous behavior in the meantime. References: https://github.com/swaywm/sway/issues/7897
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 5df8a8e1..adb62cda 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -156,6 +156,7 @@ struct sway_debug {
bool noatomic; // Ignore atomic layout updates
bool txn_timings; // Log verbose messages about transactions
bool txn_wait; // Always wait for the timeout before applying
+ bool legacy_wl_drm; // Enable the legacy wl_drm interface
};
extern struct sway_debug debug;