kephal or qdesktopwidget

Reza Shah rshah0385 at kireihana.com
Tue Oct 9 11:48:47 UTC 2012


Hi Aaron.

On Tue, Oct 9, 2012 at 6:38 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
> ah! you want to actually find out which screen you are on. then yes, you just
> take the parent->geometry()->center() and get kephal to tell you what the id
> is.
I tried like your suggestion, seems fine (need to test against multi
monitor though).

> of course .. since this is a wallpaper configuration, it should already have
> the target size set in the render hints. does targetSizeHint() return the
> correct value? (it should ... if not, that's a regression which i would fix
> asap)

Sorry, i'm not sure i understand this part.

Regards,
Reza


More information about the Plasma-devel mailing list