From 77fe8a6f91dc4dac0fe1cf529b1514e4bcda089a Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 25 Oct 2020 11:02:52 +0200 Subject: [PATCH] wayland:previews window !contains mouse on hiding --- plasmoid/plugin/dialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plasmoid/plugin/dialog.cpp b/plasmoid/plugin/dialog.cpp index 0452080ed..73fcb9402 100644 --- a/plasmoid/plugin/dialog.cpp +++ b/plasmoid/plugin/dialog.cpp @@ -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); }