don't reset the window flags right after setting them so carefull; don't activate the window if we're passive and bypassing window management
svn path=/trunk/KDE/kdelibs/; revision=979098
This commit is contained in:
parent
75e7968ae5
commit
921f3a436b
@ -305,7 +305,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
dialog->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
||||
}
|
||||
|
||||
dialog->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
||||
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||
dialog->installEventFilter(q);
|
||||
|
||||
@ -528,6 +527,7 @@ void PopupAppletPrivate::internalTogglePopup()
|
||||
|
||||
ToolTipManager::self()->hide(q);
|
||||
updateDialogPosition();
|
||||
|
||||
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||
|
||||
/**
|
||||
@ -555,9 +555,11 @@ void PopupAppletPrivate::internalTogglePopup()
|
||||
dialog->show();
|
||||
}
|
||||
|
||||
if (!(dialog->windowFlags() & Qt::X11BypassWindowManagerHint)) {
|
||||
KWindowSystem::activateWindow(dialog->winId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PopupAppletPrivate::hideTimedPopup()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user