From c70505d7c7b7b48600f273357694b56ccf5d2a15 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Fri, 23 May 2025 11:41:09 +0000 Subject: Initial commit --- dwl-patches/patches/tearing/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dwl-patches/patches/tearing/README.md (limited to 'dwl-patches/patches/tearing/README.md') diff --git a/dwl-patches/patches/tearing/README.md b/dwl-patches/patches/tearing/README.md new file mode 100644 index 0000000..45efbf9 --- /dev/null +++ b/dwl-patches/patches/tearing/README.md @@ -0,0 +1,17 @@ +### Description +This patch adds support for tearing protocol. To get it working `export WLR_DRM_NO_ATOMIC=1` is probably required. +Some apps would send ASYNC hint and tearing will "just work", otherwise it's possible to force specified clients to tear with a rule. + +Set rules in the config.h (exact string match): +``` +static const ForceTearingRule force_tearing[] = { + {.title = "", .appid = "hl_linux"}, + {.title = "Warcraft III", .appid = ""}, + {.title = "", .appid = "gamescope"}, +}; +``` +### Download +- [git branch](https://codeberg.org/korei999/dwl/src/branch/tearing) +- [2025-04-22](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tearing/tearing.patch) +### Authors +- [korei999](https://codeberg.org/korei999) -- cgit v1.2.3