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:
parent
6fb9413cbf
commit
5c85016a9b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue