Add support for closing window tabs with middle mouse click (#41628)

This change adds support for closing a system window tabs by pressing
the middle mouse button.
It improves tab management UX by matching common tab behavior.

Release Notes:

- Added support for closing system window tabs with middle mouse click.
7aacc7566cAbdugani Toshmukhamedov committed on 11/10/2025, 2:09:37 PM· committed by GitHubparent8d63295
1 file changedLine totals unavailable