Skip to content

Commit 8cb8844

Browse files
ajoriansmike-malburg
authored andcommitted
Add Brandon's macos workaround for QtADS frozen overlay state
See: TechSmith/Luma@a26903b for details.
1 parent a0667bd commit 8cb8844

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/FloatingDockContainer.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,16 @@ bool CFloatingDockContainer::event(QEvent *e)
12721272
ADS_PRINT("FloatingWidget::event QEvent::NonClientAreaMouseButtonRelease");
12731273
d->titleMouseReleaseEvent();
12741274
}
1275+
else if( QGuiApplication::mouseButtons().testFlag(Qt::NoButton) )
1276+
{
1277+
qDebug() << "DraggingFloatingWidget NoButton";
1278+
d->titleMouseReleaseEvent();
1279+
}
1280+
else if( e->type() == QEvent::Leave )
1281+
{
1282+
qDebug() << "DraggingFloatingWidget Leave";
1283+
d->titleMouseReleaseEvent();
1284+
}
12751285
break;
12761286

12771287
default:

0 commit comments

Comments
 (0)