From 08f368da43a85e79377540a228b607ace844e7ae Mon Sep 17 00:00:00 2001 From: sudden6 Date: Fri, 21 Dec 2018 09:02:40 +0100 Subject: [PATCH] fix(widget): always force show window on activate event fixes #5459 --- src/widget/widget.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 027d3afe2..cb15c27a3 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -81,10 +81,12 @@ bool toxActivateEventHandler(const QByteArray&) { Widget* widget = Nexus::getDesktopGUI(); - if (!widget) + if (!widget) { return true; - if (!widget->isActiveWindow()) - widget->forceShow(); + } + + qDebug() << "Handling [activate] event from other instance"; + widget->forceShow(); return true; }