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:
parent
b620768b1d
commit
51d77f1d7d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue