From: <enl...@li...> - 2001-11-30 01:03:06
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src Modified Files: match.c menu.c Log Message: and... dont sync db on window close... and dont kepe menu up if kbd/mouse couldnt be grabbed =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/match.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- match.c 2001/11/25 08:32:54 1.6 +++ match.c 2001/11/30 01:03:03 1.7 @@ -181,6 +181,6 @@ } e_db_close(db); - e_db_flush(); + e_db_runtime_flush(); D_RETURN; } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/menu.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- menu.c 2001/11/25 08:32:54 1.23 +++ menu.c 2001/11/30 01:03:03 1.24 @@ -932,6 +932,19 @@ } /* raise it */ if (menu_event_win) ecore_window_raise(menu_event_win); + if ((!ecore_grab_window_get()) || (!ecore_keyboard_grab_window_get())) + { + Evas_List l; + + for (l = menus; l; l = l->next) + { + E_Menu *m; + + m = l->data; + if (m->current.visible) e_menu_hide(m); + } + e_menu_event_win_hide(); + } D_RETURN; } |