From: <enl...@li...> - 2005-04-30 02:26:48
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_manager.c e_manager.h Log Message: remove focus win - was just parft of my stuffing around =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_manager.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_manager.c 29 Apr 2005 19:42:18 -0000 1.20 +++ e_manager.c 30 Apr 2005 02:26:41 -0000 1.21 @@ -86,8 +86,6 @@ { man->win = man->root; } - man->focus_win = ecore_x_window_override_new(man->root, -1, -1, 1, 1); - ecore_x_window_show(man->focus_win); h = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW_REQUEST, _e_manager_cb_window_show_request, man); if (h) man->handlers = evas_list_append(man->handlers, h); h = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_CONFIGURE, _e_manager_cb_window_configure, man); @@ -219,7 +217,6 @@ mwin, ECORE_X_WINDOW_STACK_BELOW); ecore_x_window_show(man->win); } - ecore_x_window_focus(man->win); man->visible = 1; } @@ -414,7 +411,6 @@ l = l->next; e_object_del(E_OBJECT(tmp->data)); } - ecore_x_window_del(man->focus_win); if (man->root != man->win) { ecore_x_window_del(man->win); @@ -473,10 +469,8 @@ man = data; e = ev; - printf("KEY %s [%x %x]\n", - e->keyname, e->win, e->event_win); - if ((e->event_win != man->root) && - (e->event_win != man->focus_win)) return 1; + printf("KEY %s [win=%x event_win=%x]\n", e->keyname, e->win, e->event_win); + if (e->event_win != man->root) return 1; if (e_bindings_key_down_event_handle(E_BINDING_CONTEXT_MANAGER, E_OBJECT(man), ev)) return 0; return 1; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_manager.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_manager.h 29 Apr 2005 19:42:18 -0000 1.9 +++ e_manager.h 30 Apr 2005 02:26:41 -0000 1.10 @@ -19,7 +19,6 @@ int x, y, w, h; char visible : 1; Ecore_X_Window root; - Ecore_X_Window focus_win; Evas_List *handlers; Evas_List *containers; }; |