Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_embed.c
Log Message:
Avoid an unnecessary attach lookup.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- ewl_embed.c 8 Nov 2006 06:38:55 -0000 1.94
+++ ewl_embed.c 8 Nov 2006 14:39:03 -0000 1.95
@@ -1597,9 +1597,14 @@
pointer = argb->handle;
ewl_attach_mouse_cursor_set(w, pointer);
}
+ else
+ pointer = 0;
- if (!(pointer = (int)ewl_attach_get(w, EWL_ATTACH_TYPE_MOUSE_CURSOR)))
- pointer = EWL_MOUSE_CURSOR_LEFT_PTR;
+ if (!pointer) {
+ if (!(pointer = (int)ewl_attach_get(w,
+ EWL_ATTACH_TYPE_MOUSE_CURSOR)))
+ pointer = EWL_MOUSE_CURSOR_LEFT_PTR;
+ }
ewl_engine_pointer_set(embed, pointer);
embed->cursor = pointer;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs