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:
@@ -53,7 +53,7 @@ public:
|
||||
Frame *hoveredFrame() const { return m_hoveredFrame; }
|
||||
void setCurrentDropLocation(DropIndicatorOverlayInterface::DropLocation location);
|
||||
|
||||
void hover(QPoint globalPos);
|
||||
KDDockWidgets::DropIndicatorOverlayInterface::DropLocation hover(QPoint globalPos);
|
||||
|
||||
/// @brief returns the position of the specified drop location
|
||||
/// The return is in global coordinates
|
||||
|
||||
Reference in New Issue
Block a user