From 5c85016a9b5abbc59d336810f63e233fd2c356ee Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sat, 28 Mar 2026 20:54:44 +0100 Subject: [PATCH] =?UTF-8?q?wayland:=20Phase=2012=20=E2=80=94=20guard=20bou?= =?UTF-8?q?nce=20animation=20against=20NULL=20dpy=20in=20Wayland=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doAppBounce calls XMoveWindow which crashes when dpy is NULL. Add early return so urgent-window bounce animations are silently skipped in Wayland mode (no X11 icon window to move). Co-Authored-By: Claude Sonnet 4.6 --- src/superfluous.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/superfluous.c b/src/superfluous.c index a148405..90b0841 100644 --- a/src/superfluous.c +++ b/src/superfluous.c @@ -195,6 +195,10 @@ static void doAppBounce(void *arg) if (!aicon) return; + /* Phase 12: Wayland — no X11 window to move for bounce animation */ + if (!dpy) + return; + reinit: if (data->wapp->refcount > 1) { if (wPreferences.raise_appicons_when_bouncing)