Set window flag X11BypassWindowManagerHint so that the window is on top of stacking order. By that the popup info is also shown when compositing is enabled. The popup info shown time is increased to 750 ms so that it is visible if fade effect is enabled.

BUG: 176908

svn path=/trunk/KDE/kdebase/workspace/; revision=935012
This commit is contained in:
Martin Gräßlin 2009-03-04 12:57:33 +00:00
parent b620768b1d
commit 51d77f1d7d

View file

@ -51,6 +51,7 @@ PopupInfo::PopupInfo( Workspace* ws, const char *name )
{
setObjectName( name );
setWindowFlags( Qt::X11BypassWindowManagerHint );
m_infoString = "";
m_shown = false;
reset();
@ -140,7 +141,7 @@ void PopupInfo::reconfigure()
KSharedConfigPtr c(KGlobal::config());
const KConfigGroup cg = c->group("PopupInfo");
m_show = cg.readEntry("ShowPopup", false );
m_delayTime = cg.readEntry("PopupHideDelay", 350 );
m_delayTime = cg.readEntry("PopupHideDelay", 750 );
}
void PopupInfo::showInfo(const QString &infoString)