Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c e_config.c 


Log Message:


ops. hardcoded config.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_border.c  19 Dec 2004 04:18:13 -0000      1.22
+++ e_border.c  19 Dec 2004 06:29:53 -0000      1.23
@@ -416,7 +416,8 @@
             bd->changes.shading = 1;
             bd->changed = 1;
 
-            ecore_x_window_gravity_set(bd->client.win, ECORE_X_GRAVITY_S);
+            /* FIXME: this assumes shading upwards */
+            ecore_x_window_gravity_set(bd->client.win, ECORE_X_GRAVITY_SW);
             bd->shade.anim = ecore_animator_add(_e_border_shade_animator, bd);
             edje_object_signal_emit(bd->bg_object, "shading", "");
          }
@@ -447,7 +448,8 @@
             bd->changes.shading = 1;
             bd->changed = 1;
 
-            ecore_x_window_gravity_set(bd->client.win, ECORE_X_GRAVITY_S);
+            /* FIXME: this assumes shading upwards */
+            ecore_x_window_gravity_set(bd->client.win, ECORE_X_GRAVITY_SW);
             bd->shade.anim = ecore_animator_add(_e_border_shade_animator, bd);
             edje_object_signal_emit(bd->bg_object, "unshading", "");
          }
@@ -1845,6 +1847,7 @@
                                        bd->client_inset.l, bd->client_inset.t,
                                        bd->w - (bd->client_inset.l + 
bd->client_inset.r),
                                        bd->h - (bd->client_inset.t + 
bd->client_inset.b));
+            /* FIXME: this assumes shading upwards */
             ecore_x_window_move_resize(bd->client.win, 0, bd->h - 
(bd->client_inset.t + bd->client_inset.b) - bd->client.h,
                                        bd->client.w, bd->client.h);
             ecore_evas_move_resize(bd->bg_ecore_evas, 0, 0, bd->w, bd->h);
@@ -1857,6 +1860,7 @@
             evas_obscured_clear(bd->bg_evas);
             ecore_x_window_move_resize(bd->win, bd->x, bd->y, bd->w, bd->h);
             ecore_x_window_move_resize(bd->event_win, 0, 0, bd->w, bd->h);
+            /* FIXME: this assumes shading upwards */
             ecore_x_window_move_resize(bd->client.win, 0, bd->h - 
(bd->client_inset.t + bd->client_inset.b) - bd->client.h,
                                        bd->client.w, bd->client.h);
             ecore_evas_move_resize(bd->bg_ecore_evas, 0, 0, bd->w, bd->h);
@@ -1910,6 +1914,7 @@
                                        bd->client_inset.l, bd->client_inset.t,
                                        bd->w - (bd->client_inset.l + 
bd->client_inset.r),
                                        bd->h - (bd->client_inset.t + 
bd->client_inset.b));
+            /* FIXME: this assumes shading upwards */
             ecore_x_window_move_resize(bd->client.win, 0, bd->h - 
(bd->client_inset.t + bd->client_inset.b) - bd->client.h,
                                        bd->client.w, bd->client.h);
             ecore_evas_move_resize(bd->bg_ecore_evas, 0, 0, bd->w, bd->h);
@@ -1921,6 +1926,7 @@
             evas_obscured_clear(bd->bg_evas);
             ecore_x_window_move_resize(bd->event_win, 0, 0, bd->w, bd->h);
             ecore_x_window_resize(bd->win, bd->w, bd->h);
+            /* FIXME: this assumes shading upwards */
             ecore_x_window_move_resize(bd->client.win, 0, bd->h - 
(bd->client_inset.t + bd->client_inset.b) - bd->client.h,
                                        bd->client.w, bd->client.h);
             ecore_evas_move_resize(bd->bg_ecore_evas, 0, 0, bd->w, bd->h);
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_config.c  18 Dec 2004 23:24:09 -0000      1.6
+++ e_config.c  19 Dec 2004 06:29:53 -0000      1.7
@@ -92,7 +92,7 @@
    E_CONFIG_LIMIT(e_config->menus_fast_mouse_move_thresthold, 1.0, 2000.0);
    E_CONFIG_LIMIT(e_config->menus_click_drag_timeout, 0.0, 10.0);
    E_CONFIG_LIMIT(e_config->border_shade_animate, 0, 1);
-   E_CONFIG_LIMIT(e_config->border_shade_speed, 1, 20000.0);
+   E_CONFIG_LIMIT(e_config->border_shade_speed, 1.0, 20000.0);
    E_CONFIG_LIMIT(e_config->framerate, 1.0, 200.0);
    E_CONFIG_LIMIT(e_config->image_cache, 0, 256 * 1024);
    E_CONFIG_LIMIT(e_config->font_cache, 0, 32 * 1024);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to