forked from enlightenment/enlightenment
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:
parent
62644089e9
commit
24d5040564
|
@ -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 (x) *x = crtc->geometry.x;
|
||||||
if (y) *y = crtc->geometry.y;
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue