From: Enlightenment C. <no...@cv...> - 2006-10-07 14:23:47
|
Enlightenment CVS committal Author : moom Project : e17 Module : proto Dir : e17/proto/etk/src/lib Modified Files: etk_popup_window.c Log Message: * Debug printfs for Manowarrior =================================================================== RCS file: /cvs/e/e17/proto/etk/src/lib/etk_popup_window.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- etk_popup_window.c 6 Oct 2006 17:04:14 -0000 1.13 +++ etk_popup_window.c 7 Oct 2006 14:23:40 -0000 1.14 @@ -425,6 +425,7 @@ if (event_info.mouse_up.timestamp < (int)_etk_popup_window_popup_timestamp) return; + printf("PopWin: Mouse Up: %d %d\n", event_info.mouse_up.pos.x, event_info.mouse_up.pos.y); /* If the user clicks on a popped window, we feed the event */ pop = ETK_POPUP_WINDOW(evas_list_data(evas_list_last(_etk_popup_window_popped_parents))); for ( ; pop; pop = pop->popped_child) @@ -432,6 +433,7 @@ int px, py, pw, ph; etk_window_geometry_get(ETK_WINDOW(pop), &px, &py, &pw, &ph); + printf("PopWin: Mouse Up2: %d %d %d %d\n", px, py, pw, ph); if (ETK_INSIDE(event_info.mouse_up.pos.x, event_info.mouse_up.pos.y, px, py, pw, ph)) { pointer_over_window = ETK_TRUE; |