Fixed test on changing close button detection.
Fixed test on changing close button detection.

blueshell-next/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk,blue-shell/carbon-gtk,blueshell-next/carbon-gtk,KDE/oxygen-gtk