Skip to content

Fix crash when annotation window is closed outside of Evince

Nelson Ben requested to merge fix_crash_from_gnome_shell into main

Under Wayland, when closing an Evince annotation window directly from the desktop compositor e.g. gnome-shell then Evince would crash when trying to draw the window as it haven't noticed it has gone.

Fixed by listening to "delete-event" signal so Evince notices the closing and acts accordingly.

Fixes #2009 (closed)

Merge request reports