wayland: Phase 12 — guard bounce animation against NULL dpy in Wayland mode

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 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-28 20:54:44 +01:00
parent 6fb9413cbf
commit 5c85016a9b
1 changed files with 4 additions and 0 deletions

View File

@ -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)