Daytron/revworks

Fix notification window close event bug

Closed this issue · 1 comments

Initial logic was the used of BlurListener on Window. But when user click on inner Window components it triggers the close event.

Also when clicking the notification button when the window is already popup, it just recreates a new popup window instead of closing it.

Instead of using blur listener, listen for root layout click and from there close all opened windows.
Fixed with this commit c3fbc8a