E (RandR): If we have a crtc when getting monitor geometry, then use

that for width & height.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77883
This commit is contained in:
Christopher Michael 2012-10-11 14:28:51 +00:00 committed by Christopher Michael
parent 62644089e9
commit 24d5040564
1 changed files with 7 additions and 3 deletions

View File

@ -411,10 +411,14 @@ e_smart_monitor_crtc_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y
{
if (x) *x = crtc->geometry.x;
if (y) *y = crtc->geometry.y;
if (w) *w = crtc->geometry.w;
if (h) *h = crtc->geometry.h;
}
else
{
if (w) *w = sd->current.mode->width;
if (h) *h = sd->current.mode->height;
}
if (w) *w = sd->current.mode->width;
if (h) *h = sd->current.mode->height;
}
else
{