summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-07-04 18:55:08 -0700
committerChris Sobczak <chris@sobczak.family>2026-07-04 18:55:08 -0700
commitcb575634abd3bf321264ab3be440509cd20486d1 (patch)
treea415e58fe0c7d0fb5b1dbfa66e636f2363c51b33
parentb1f9d247af7c9dd7e0a017ef33a2585e2ddd203a (diff)
initialize opacity for xwayland clinetsfix-opacity
-rw-r--r--dwl.c4
1 files changed, 4 insertions, 0 deletions
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);