summaryrefslogtreecommitdiff
path: root/legacy/evas
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-24 08:09:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-24 08:09:33 +0000
commit012301b7f6fbfa7975a641303ca7f67d5c5c45db (patch)
tree7f445d5e5e5aa223f100a41714781be7d179a04e /legacy/evas
parent06bb70765ed059edd7b101f6dea01a8a1f78729c (diff)
small thing - internal path. onebuf mode was broken, make it work
again. only useful if explicitly turned on in code which is it snt atm. SVN revision: 77034
Diffstat (limited to 'legacy/evas')
-rw-r--r--legacy/evas/src/modules/engines/software_x11/evas_xcb_outbuf.c3
-rw-r--r--legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/legacy/evas/src/modules/engines/software_x11/evas_xcb_outbuf.c b/legacy/evas/src/modules/engines/software_x11/evas_xcb_outbuf.c
index b84ee16aae..9e6b8d156b 100644
--- a/legacy/evas/src/modules/engines/software_x11/evas_xcb_outbuf.c
+++ b/legacy/evas/src/modules/engines/software_x11/evas_xcb_outbuf.c
@@ -259,7 +259,8 @@ evas_software_xcb_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w,
259 return NULL; 259 return NULL;
260 } 260 }
261 261
262 if (!eina_array_push(&buf->priv.onebuf_regions, rect)) 262 if ((eina_array_push(&buf->priv.onebuf_regions, rect)) &&
263 (buf->priv.onebuf))
263 { 264 {
264 if (cx) *cx = x; 265 if (cx) *cx = x;
265 if (cy) *cy = y; 266 if (cy) *cy = y;
diff --git a/legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.c b/legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.c
index ab4e777a4a..c2e1a9abfc 100644
--- a/legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.c
+++ b/legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.c
@@ -382,7 +382,8 @@ evas_software_xlib_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w
382 return NULL; 382 return NULL;
383 } 383 }
384 384
385 if (!eina_array_push(&buf->priv.onebuf_regions, rect)) 385 if ((eina_array_push(&buf->priv.onebuf_regions, rect)) &&
386 (buf->priv.onebuf))
386 { 387 {
387 *cx = x; 388 *cx = x;
388 *cy = y; 389 *cy = y;