Hi Kimmo,
Thanks for your reply.
You mentioned it's easy to support xrandr. Is it something like add the below
code to mcompositemanager.cpp : void
MCompositeManagerPrivate::configureEvent(XConfigureEvent *e) to resize the
xoverlay window?
---
if (e->window == xoverlay) {
MCompositeWindow *topwin = COMPOSITE_WINDOW(e->window);
QRect rr(e->x, e->y, e->width, e->height);
topwin->propertyCache()->setRealGeometry(rr);
return;
}
---
Regards,
Jacob
-----Original Message-----
From: Hämäläinen Kimmo [mailto:[email protected]]
Sent: Wednesday, March 02, 2011 9:29 PM
To: Chen, Jacob
Cc: [email protected]
Subject: Re: [MeeGo-dev] does the mcompositor support xrandr setting?
On Wed, 2011-03-02 at 18:13 +0800, ext Chen, Jacob wrote:
...
> My question is, does mcompositor support xrandr setting?
As Max said, it does not support it. But it should be quite easy to
add. It would be enough to track ConfigureNotifys for the root window
--- since its size changes when XRandR rotates, and recreate the
offscreen pixmaps in this case.
If somebody is willing to look at it, please send your merge request
against the 'staging' branch of
http://meego.gitorious.org/meegotouch/meegotouch-compositor
The Nokia phone we are working on does not support XRandR so the support
is not done yet.
-Kimmo
>
>
> Regards,
> Jacob
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
> http://wiki.meego.com/Mailing_list_guidelines
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines