1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 13:33:50 +03:00

wayland:previews window !contains mouse on hiding

This commit is contained in:
Michail Vourlakos 2020-10-25 11:02:52 +02:00
parent b188127a43
commit 77fe8a6f91

View File

@ -47,7 +47,8 @@ bool Dialog::event(QEvent *e)
{
if (e->type() == QEvent::Enter) {
setContainsMouse(true);
} else if (e->type() == QEvent::Leave) {
} else if (e->type() == QEvent::Leave
|| e->type() == QEvent::Hide) {
setContainsMouse(false);
}