kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=13c4b29a98cee813d7a49a677cb0ee0ffa577150

commit 13c4b29a98cee813d7a49a677cb0ee0ffa577150
Author: Kim Woelders <k...@woelders.dk>
Date:   Tue Jul 20 17:18:15 2021 +0200

    Fix EImageDefineCursor() for window mode
    
    Use RROOT, not VROOT.
    EImageDefineCursor() is used by the restart cursor code, and in window
    mode VROOT is destroyed during restart.
    
    Also correct comment.
---
 src/eimage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eimage.c b/src/eimage.c
index ad4f00c2..3725a44d 100644
--- a/src/eimage.c
+++ b/src/eimage.c
@@ -736,7 +736,7 @@ EImageDefineCursor(EImage * im, int xh, int yh)
 
    EImageGetSize(im, &w, &h);
 
-   pict = EPictureCreateBuffer(VROOT, w, h, 1, &pmap);
+   pict = EPictureCreateBuffer(RROOT, w, h, 1, &pmap);
 
    EImageRenderOnDrawableARGB(im, pmap, w, h);
    EFreePixmap(pmap);
@@ -747,4 +747,4 @@ EImageDefineCursor(EImage * im, int xh, int yh)
    return curs;
 }
 
-#endif /* USE_COMPOSITE */
+#endif /* USE_XRENDER */

-- 


Reply via email to