Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c e_remote_main.c 


Log Message:


printf's - me dbeugging why these windows hang around. they get del called
but dont actually get deleted... too many ref's? dunno- hasn't happened again
since i added the latest dbeugging in..

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -3 -r1.211 -r1.212
--- e_border.c  18 May 2005 19:15:41 -0000      1.211
+++ e_border.c  19 May 2005 00:12:30 -0000      1.212
@@ -431,7 +431,9 @@
    E_OBJECT_CHECK(bd);
    E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
    if (!bd->visible) return;
+   printf("hide1\n");
    if (bd->moving) return;
+   printf("hide2\nn");
 
    ecore_x_window_hide(bd->client.win);
    e_container_shape_hide(bd->shape);
@@ -452,6 +454,7 @@
        ev = calloc(1, sizeof(E_Event_Border_Hide));
        ev->border = bd;
        e_object_ref(E_OBJECT(bd));
+       printf("ref bd %p to %i\n", bd, e_object_ref_get(E_OBJECT(bd)));
        ecore_event_add(E_EVENT_BORDER_HIDE, ev, 
_e_border_event_border_hide_free, NULL);
      }
 }
@@ -1390,6 +1393,7 @@
 static void
 _e_border_free(E_Border *bd)
 {
+   printf("BD FREE %p\n", bd);
    if (resize == bd)
      _e_border_resize_end(bd);
    if (move == bd)
@@ -1450,6 +1454,7 @@
 {
    E_Event_Border_Remove *ev;
 
+   printf("BD DEL %p\n", bd);
    ecore_x_window_reparent(bd->client.win,
                           bd->zone->container->manager->root,
                           bd->x + bd->client_inset.l,
@@ -1501,20 +1506,26 @@
 //   printf("in hide cb\n");
    bd = data;
    e = ev;
+   printf("hide..\n");
    bd = e_border_find_by_client_window(e->win);
    if (!bd) return 1;
+   printf("found %p\n");
    if (bd->ignore_first_unmap > 0)
      {
+       printf("IGNORE UNMAP\n");
        bd->ignore_first_unmap--;
        return 1;
      }
    /* Don't delete hidden or iconified windows */
    if ((bd->iconic) || (!bd->visible))
      {
+       printf("iconic %i || !visible %i\n",
+              bd->iconic, bd->visible);
        e_border_hide(bd, 1);
      }
    else
      {
+       printf("hide + del\n");
        e_border_hide(bd, 0);
        e_object_del(E_OBJECT(bd));
      }
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remote_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_remote_main.c     18 May 2005 10:18:02 -0000      1.25
+++ e_remote_main.c     19 May 2005 00:12:30 -0000      1.26
@@ -283,10 +283,10 @@
    OREQ("-lang-list", "List all available languages", E_IPC_OP_LANG_LIST, 1),
    OSTR("-lang-set", "Set the current language", E_IPC_OP_LANG_SET, 0),
    OREQ("-binding-mouse-list", "List all mouse bindings", 
E_IPC_OP_BINDING_MOUSE_LIST, 1),
-   OFNC("-binding-mouse-add", "Add or replace an existing mouse binding. OPT1 
= Context, OPT2 = button, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = 
action, OPT6 = action parameters", 6, _e_opt_binding_mouse_add, 0),
+   OFNC("-binding-mouse-add", "Add an existing mouse binding. OPT1 = Context, 
OPT2 = button, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = 
action parameters", 6, _e_opt_binding_mouse_add, 0),
    OFNC("-binding-mouse-del", "Delete an existing mouse binding. OPT1 = 
Context, OPT2 = button, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = 
action, OPT6 = action parameters", 6, _e_opt_binding_mouse_del, 0),
    OREQ("-binding-key-list", "List all key bindings", 
E_IPC_OP_BINDING_KEY_LIST, 1),
-   OFNC("-binding-key-add", "Add or replace an existing key binding. OPT1 = 
Context, OPT2 = key, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, 
OPT6 = action parameters", 6, _e_opt_binding_key_add, 0),
+   OFNC("-binding-key-add", "Add an existing key binding. OPT1 = Context, OPT2 
= key, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = action 
parameters", 6, _e_opt_binding_key_add, 0),
    OFNC("-binding-key-del", "Delete an existing key binding. OPT1 = Context, 
OPT2 = key, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = 
action parameters", 6, _e_opt_binding_key_del, 0),
    ODBL("-menus-scroll-speed-set", "Set the scroll speed of menus 
(pixels/sec)", E_IPC_OP_MENUS_SCROLL_SPEED_SET, 0),
    OREQ("-menus-scroll-speed-get", "Get the scroll speed of menus 
(pixels/sec)", E_IPC_OP_MENUS_SCROLL_SPEED_GET, 1),




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to