Web lists-archives.org

Re: KDE3 krunner always shows on head 1 and forces apps onto that head as well




On Monday 04 February 2008, Andreas Pakulat wrote:
> I'm looking for someone who can give me a hint how to fix krunner so
> that it behaves like any other application I start and show up on the
> screen that has the mouse cursor on it.

actually, we do this:

    int screen = 0;
    if (QApplication::desktop()->numScreens() > 1) {
        screen = QApplication::desktop()->screenNumber(QCursor::pos());
    }

    KDialog::centerOnScreen(this, screen);

so ... if anything it's a bug in KDialog::centerOnScreen, KWindowSystem or 
KWin itself.

btw, when you say "KDE3 krunner" you do mean "KDE4 krunner" right? you're not 
talking about kdesktop's minicli Run Dialog from kde3, right?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

Attachment: signature.asc
Description: This is a digitally signed message part.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<