SVN_SILENT document why this is, as it's not immediately obvious why that would be needed there, and obviously got missed previously
svn path=/trunk/KDE/kdelibs/; revision=898229
This commit is contained in:
parent
1ff5d76fca
commit
ffead9de07
@ -360,6 +360,8 @@ bool PopupApplet::eventFilter(QObject *watched, QEvent *event)
|
|||||||
void PopupApplet::showPopup(uint popupDuration)
|
void PopupApplet::showPopup(uint popupDuration)
|
||||||
{
|
{
|
||||||
if (d->dialog && (formFactor() == Horizontal || formFactor() == Vertical)) {
|
if (d->dialog && (formFactor() == Horizontal || formFactor() == Vertical)) {
|
||||||
|
// move the popup before its fist show, even if the show isn't triggered by
|
||||||
|
// a click, this should fix the first random position seen in some widgets
|
||||||
d->updateDialogPosition();
|
d->updateDialogPosition();
|
||||||
d->dialog->show();
|
d->dialog->show();
|
||||||
KWindowSystem::setState(d->dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
KWindowSystem::setState(d->dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||||
|
Loading…
Reference in New Issue
Block a user