summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-07-04 18:58:14 -0700
committerChris Sobczak <chris@sobczak.family>2026-07-04 18:58:14 -0700
commitd76d4c3cc95d919b5de57478514072730b460965 (patch)
tree25736947707436aac3c49731c1c6b7fce61a492d /dwl.c
parent4e8a7345c350b56259bcf7489340659b8f364320 (diff)
Create and apply fix for xwayland opacity issue - need to testclient-opacity-focus
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c4
1 files changed, 4 insertions, 0 deletions
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);