Double click on headerbar while in fullscreen breaks window
Steps to reproduce:
- open a document in evince
- press F11 so the window is fullscreen
- double click with the mouse cursor on headerbar
Expected behaviour: the window should get out of fullscreen mode when the headerbar is double clicked.
System details: Fedora 37 (GNOME 43.1) under Wayland. Bug persists when extensions are all disabled, as seen in the video demonstration: