Enlightenment CVS committal

Author  : rbdpngn
Project : misc
Module  : erss

Dir     : misc/erss/src


Modified Files:
        erss.c tooltip.c 


Log Message:
Handle the positioning of tooltips a little cleaner to avoid some of the
flashing.

===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/erss.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- erss.c      17 Feb 2004 22:01:22 -0000      1.34
+++ erss.c      18 Feb 2004 19:33:04 -0000      1.35
@@ -554,10 +554,10 @@
        ecore_evas_borderless_set (ee, cfg->borderless);
        snprintf(theme_file, PATH_MAX, "erss - %s", config_file);
        ecore_evas_title_set (ee, theme_file);
-   ecore_x_window_prop_layer_set(win, -1);
+       ecore_x_window_prop_layer_set(win, -1);
        ecore_evas_show (ee);
        
-   /* ecore_x_window_lower(win); */
+       /* ecore_x_window_lower(win); */
 
        if (cfg->x != 0 && cfg->y != 0)
                ecore_evas_move (ee, cfg->x, cfg->y);
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/tooltip.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- tooltip.c   17 Feb 2004 22:01:22 -0000      1.3
+++ tooltip.c   18 Feb 2004 19:33:04 -0000      1.4
@@ -24,6 +24,7 @@
        memset (tt, 0, sizeof (Erss_Tooltip));
 
        tt->ee = ecore_evas_software_x11_new (NULL, 0, 0, 0, 250, 80);
+       ecore_evas_override_set(tt->ee, 1);
        ecore_evas_borderless_set (tt->ee, TRUE);
        tt->win = ecore_evas_software_x11_window_get(ee);
        ecore_x_window_prop_window_type_set (tt->win, ECORE_X_WINDOW_TYPE_UTILITY);
@@ -89,8 +90,8 @@
 {
        tt->timer = NULL;
 
+       ecore_evas_move (tt->ee, world_x + tt->x - 10, world_y + tt->y - 10);
        ecore_evas_show (tt->ee);
-       ecore_evas_move (tt->ee, world_x + tt->x + 3, world_y + tt->y + 3);
 }
 
 




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to