qtquick: Fix crash when hovering over titlebar
It would think we were over a drag indicator, because during an instant the overlay window has 0x0 size but the indicators are still visible. Fix by only showing the overlay window (visible property) when it has the correct size
This commit is contained in:
@@ -118,9 +118,9 @@ void DropIndicatorOverlayInterface::setCurrentDropLocation(DropIndicatorOverlayI
|
||||
}
|
||||
}
|
||||
|
||||
void DropIndicatorOverlayInterface::hover(QPoint globalPos)
|
||||
DropIndicatorOverlayInterface::DropLocation DropIndicatorOverlayInterface::hover(QPoint globalPos)
|
||||
{
|
||||
hover_impl(globalPos);
|
||||
return hover_impl(globalPos);
|
||||
}
|
||||
|
||||
void DropIndicatorOverlayInterface::setHoveredFrameRect(QRect rect)
|
||||
|
||||
Reference in New Issue
Block a user