diff --git a/src/decorations/decoratedclient.cpp b/src/decorations/decoratedclient.cpp index 3d2ab5a2b9..b875957130 100644 --- a/src/decorations/decoratedclient.cpp +++ b/src/decorations/decoratedclient.cpp @@ -82,7 +82,7 @@ DecoratedClientImpl::DecoratedClientImpl(Window *window, KDecoration2::Decorated int fallAsleepDelay = QApplication::style()->styleHint(QStyle::SH_ToolTip_FallAsleepDelay); this->m_toolTipFallAsleep.setRemainingTime(fallAsleepDelay); - QToolTip::showText(Cursors::self()->mouse()->pos().toPoint(), this->m_toolTipText); + QToolTip::showText(Cursors::self()->currentCursor()->pos().toPoint(), this->m_toolTipText); m_toolTipShowing = true; }); }