don't show the dialog until it's position is settled which fixes the "i'm seeing flashes of kickoff at the top of the screen when i first open it". this also happens to fix a bug where sometimes a popup would show in the taskbar
BUG:177675 svn path=/trunk/KDE/kdelibs/; revision=901338
This commit is contained in:
parent
d2baf76321
commit
173a19d10d
@ -467,9 +467,9 @@ void PopupAppletPrivate::togglePopup()
|
|||||||
if (dialog->isVisible()) {
|
if (dialog->isVisible()) {
|
||||||
dialog->hide();
|
dialog->hide();
|
||||||
} else {
|
} else {
|
||||||
dialog->show();
|
|
||||||
updateDialogPosition();
|
updateDialogPosition();
|
||||||
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||||
|
dialog->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog->clearFocus();
|
dialog->clearFocus();
|
||||||
|
Loading…
Reference in New Issue
Block a user