From d76d4c3cc95d919b5de57478514072730b460965 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Sat, 4 Jul 2026 18:58:14 -0700 Subject: Create and apply fix for xwayland opacity issue - need to test --- patches/client-opacity-focus/fix-xwayland.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/client-opacity-focus/fix-xwayland.patch (limited to 'patches') diff --git a/patches/client-opacity-focus/fix-xwayland.patch b/patches/client-opacity-focus/fix-xwayland.patch new file mode 100644 index 0000000..4767842 --- /dev/null +++ b/patches/client-opacity-focus/fix-xwayland.patch @@ -0,0 +1,15 @@ +diff --git a/dwl.c b/dwl.c +index f00ec28..abf9dd1 100644 +--- a/dwl.c ++++ b/dwl.c +@@ -3197,6 +3197,10 @@ createnotifyx11(struct wl_listener *listener, void *data) + c->type = X11; + c->bw = client_is_unmanaged(c) ? 0 : borderpx; + ++ c->opacity_unfocus = default_opacity_unfocus; ++ c->opacity_focus = default_opacity_focus; ++ c->opacity = default_opacity_focus; ++ + /* Listen to the various events it can emit */ + LISTEN(&xsurface->events.associate, &c->associate, associatex11); + LISTEN(&xsurface->events.destroy, &c->destroy, destroynotify); -- cgit v1.2.3