Enlightenment CVS committal
Author : raster
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
config.c window.c
Log Message:
when going into "shaped" mode - set "avoid damages" notice the cleaner
redraws? it's because of the redraw order. also it saves a lot of cpu doing
redraws due to exposes that are a result of a shape change :)
i highly suggest any efl apps do this if using a shaped canvas.
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/config.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- config.c 18 May 2004 11:24:49 -0000 1.21
+++ config.c 19 May 2004 04:48:03 -0000 1.22
@@ -33,7 +33,7 @@
"The overall width of the application area");
ecore_config_int_create("engage.options.height", 100, 'H', "height",
"The overall height of the application area");
- ecore_config_theme_create("engage.options.theme", "gentoo", 't', "theme",
+ ecore_config_theme_create("engage.options.theme", "creepy_engage", 't', "theme",
"The theme name to use (minus path and extension)");
/* not technically correct - iconsets should do this, but it looks better for
* everything bar 'gentoo' - and we all have the others installed ;) */
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/window.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- window.c 13 May 2004 21:57:48 -0000 1.17
+++ window.c 19 May 2004 04:48:03 -0000 1.18
@@ -157,7 +157,10 @@
ecore_evas_name_class_set(ee, "engage", "engage");
ecore_evas_borderless_set(ee, 1);
if (options.mode == OM_ONTOP)
- ecore_evas_shaped_set(ee, 1);
+ {
+ ecore_evas_avoid_damage_set(ee, 1);
+ ecore_evas_shaped_set(ee, 1);
+ }
else
ecore_evas_shaped_set(ee, 0);
ecore_evas_callback_post_render_set(ee, handle_post_render_cb);
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs