account for vertical multi-monitor layouts with screenshots
ticket #1157 SVN revision: 76192
This commit is contained in:
parent
23dfbb7468
commit
765c24f6c6
|
@ -176,7 +176,7 @@ _save_to(const char *file)
|
||||||
sstd = evas_object_image_stride_get(o_img);
|
sstd = evas_object_image_stride_get(o_img);
|
||||||
dst = evas_object_image_data_get(o, EINA_TRUE);
|
dst = evas_object_image_data_get(o, EINA_TRUE);
|
||||||
d = dst;
|
d = dst;
|
||||||
for (y = 0; y < z->h; y++)
|
for (y = z->y; y < z->y + z->h; y++)
|
||||||
{
|
{
|
||||||
s = src + (sstd * y) + (z->x * 4);
|
s = src + (sstd * y) + (z->x * 4);
|
||||||
memcpy(d, s, z->w * 4);
|
memcpy(d, s, z->w * 4);
|
||||||
|
|
Loading…
Reference in New Issue