Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: remove debugging! works! =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.652 retrieving revision 1.653 diff -u -3 -r1.652 -r1.653 --- e_border.c 7 Aug 2008 06:45:02 -0000 1.652 +++ e_border.c 7 Aug 2008 07:08:16 -0000 1.653 @@ -1411,26 +1411,18 @@ // if (!bd->client.icccm.accepts_focus) return; if ((!bd->client.icccm.accepts_focus) && (!bd->client.icccm.take_focus)) - { - printf(" - SKIP I F %p %i %i\n", bd, focus, set); return; - } /* dont focus an iconified window. that's silly! */ if ((focus) && (bd->iconic)) - { - printf(" - SKIP H F %p %i %i\n", bd, focus, set); - return; - } + return; if ((bd->modal) && (bd->modal != bd)) { e_border_focus_set(bd->modal, focus, set); - printf(" - SKIP G F %p %i %i\n", bd, focus, set); return; } else if ((bd->leader) && (bd->leader->modal) && (bd->leader->modal != bd)) { e_border_focus_set(bd->leader->modal, focus, set); - printf(" - SKIP F F %p %i %i\n", bd, focus, set); return; } @@ -1444,11 +1436,9 @@ e_border_focus_latest_set(bd); bd->want_focus = 1; bd->changed = 1; - printf(" - SKIP E F %p %i %i\n", bd, focus, set); return; } e_grabinput_focus(bd->client.win, E_FOCUS_METHOD_LOCALLY_ACTIVE); - printf(" - SKIP D F %p %i %i\n", bd, focus, set); return; } else if ((!bd->client.icccm.accepts_focus) && @@ -1459,11 +1449,9 @@ e_border_focus_latest_set(bd); bd->want_focus = 1; bd->changed = 1; - printf(" - SKIP C F %p %i %i\n", bd, focus, set); return; } e_grabinput_focus(bd->client.win, E_FOCUS_METHOD_GLOBALLY_ACTIVE); - printf(" - SKIP B F %p %i %i\n", bd, focus, set); return; } } @@ -1478,7 +1466,6 @@ e_border_focus_latest_set(bd); bd->want_focus = 1; bd->changed = 1; - printf(" - SKIP AA F %p %i %i\n", bd, focus, set); return; } if ((focus) && (!bd->focused)) @@ -1488,7 +1475,6 @@ e_border_focus_latest_set(bd); bd->want_focus = 1; bd->changed = 1; - printf(" - SKIP A F %p %i %i\n", bd, focus, set); return; } // if (bd->visible) @@ -1564,7 +1550,6 @@ { E_Event_Border_Focus_Out *ev; - printf("unfocus previous\n"); edje_object_signal_emit(focused->bg_object, "e,state,unfocused", "e"); if (focused->icon_object) edje_object_signal_emit(focused->icon_object, "e,state,unfocused", "e"); @@ -1576,7 +1561,6 @@ ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, _e_border_event_border_focus_out_free, NULL); - printf("FOUT %s\n", bd->client.netwm.name); /* FIXME: Sometimes we should leave the window fullscreen! */ // if (focused->fullscreen) e_border_unfullscreen(focused); @@ -1620,14 +1604,12 @@ } */ #endif - printf("- F=%i, S=%i V=%i, W=%i\n", focus, set, bd->visible, bd->want_focus); if (focus_changed) { if (bd->focused) { E_Event_Border_Focus_In *ev; - printf(" - focused = %p\n", focused); focused = bd; //printf("set focused to %p\n", focused); @@ -1639,7 +1621,6 @@ ecore_event_add(E_EVENT_BORDER_FOCUS_IN, ev, _e_border_event_border_focus_in_free, NULL); - printf("FIN %s\n", bd->client.netwm.name); } else { @@ -1656,7 +1637,6 @@ ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, _e_border_event_border_focus_out_free, NULL); - printf("FOUT %s\n", bd->client.netwm.name); } } } ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs