From cb575634abd3bf321264ab3be440509cd20486d1 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Sat, 4 Jul 2026 18:55:08 -0700 Subject: initialize opacity for xwayland clinets --- dwl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dwl.c b/dwl.c index 025bab2..848d86f 100644 --- a/dwl.c +++ b/dwl.c @@ -3596,6 +3596,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