When showing a close button at the top-right corner, it can be accidentally clicked when scrolling, by dragging a scroll bar and releasing the mouse button on the close button.
Here are the details:
- I want to scroll the page, I hold the mouse button on the scrollbar.
- I drag the scrollbar to the top, my cursor is now on the close button (it's not intentional, it's just faster to move it to the top of the screen), I release the mouse button, the window closes unintentionally.
It's very disturbing and happens only on wayland.

It would be great if a close button would only be triggered if both button-press-event and button-release-event occur on it. Currently, on wayland, if you press mouse button elsewhere, then release it on the close button, it would trigger.
By the way, it's one of my favorite gnome extension, thanks for the work!
When showing a close button at the top-right corner, it can be accidentally clicked when scrolling, by dragging a scroll bar and releasing the mouse button on the close button.
Here are the details:
It's very disturbing and happens only on wayland.
It would be great if a close button would only be triggered if both button-press-event and button-release-event occur on it. Currently, on wayland, if you press mouse button elsewhere, then release it on the close button, it would trigger.
By the way, it's one of my favorite gnome extension, thanks for the work!