Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c e_hints.c e_win.c 


Log Message:


clean up canvas show - uncessesary exposure there. fixed.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -3 -r1.399 -r1.400
--- e_border.c  20 Sep 2005 05:14:57 -0000      1.399
+++ e_border.c  21 Sep 2005 04:53:12 -0000      1.400
@@ -1889,7 +1889,8 @@
             bl = e_container_border_list_last(con);
             while ((bd = e_container_border_list_prev(bl)))
               {
-                 if ((bd->changes.visible) && (bd->visible))
+                 if ((bd->changes.visible) && (bd->visible) && 
+                     (!bd->new_client))
                    {
                       ecore_evas_show(bd->bg_ecore_evas);
                       ecore_x_window_show(bd->win);
@@ -4892,7 +4893,6 @@
    
    if (bd->new_client)
      {
-       bd->new_client = 0;
        if (bd->client.icccm.transient_for)
          {
             E_Border *bd_parent;
@@ -5056,7 +5056,15 @@
 
        /* Recreate state */
        e_hints_window_init(bd);
-
+       
+        if (bd->client.e.state.centered)
+         {
+            bd->x = bd->zone->x + (bd->zone->w - bd->w) / 2;
+            bd->y = bd->zone->y + (bd->zone->h - bd->h) / 2;
+            bd->placed = 1;
+            bd->changes.pos = 1;
+         }
+       
        ecore_x_icccm_move_resize_send(bd->client.win,
                                       bd->x + bd->client_inset.l,
                                       bd->y + bd->client_inset.t,
@@ -5377,6 +5385,14 @@
        bd->need_shape_export = 0;
      }
 
+   if ((bd->changes.visible) && (bd->visible) && (bd->new_client))
+     {
+       ecore_evas_show(bd->bg_ecore_evas);
+       ecore_x_window_show(bd->win);
+       bd->changes.visible = 0;
+     }
+   bd->new_client = 0;
+   
    bd->changed = 0;
 
    bd->changes.stack = 0;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- e_hints.c   20 Sep 2005 17:09:55 -0000      1.72
+++ e_hints.c   21 Sep 2005 04:53:12 -0000      1.73
@@ -467,6 +467,7 @@
    else if (bd->desk == e_desk_current_get(bd->zone))
      e_border_show(bd);
    /* e hints */
+/*   
    if (bd->client.e.state.centered)
      {
        e_border_move(bd,
@@ -474,7 +475,7 @@
                      bd->zone->y + (bd->zone->h - bd->h) / 2);
                      
      }
-
+ */
    /* Update stacking */
    e_hints_client_list_set();
    e_hints_client_stacking_set();
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_win.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_win.c     30 Aug 2005 10:42:47 -0000      1.4
+++ e_win.c     21 Sep 2005 04:53:12 -0000      1.5
@@ -90,6 +90,7 @@
    if (!win->border)
      {
        _e_win_prop_update(win);
+       ecore_evas_lower(win->ecore_evas);
        win->border = e_border_new(win->container, win->evas_win, 1);
        if (!win->placed)
          win->border->re_manage = 0;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to