- getting the event window doesnt work this way

SVN revision: 18300
This commit is contained in:
codewarrior 2005-11-04 22:53:08 +00:00 committed by codewarrior
parent 4054e87a14
commit 770dd2625e
1 changed files with 4 additions and 1 deletions

View File

@ -2432,7 +2432,10 @@ _e_fm_win_key_down_cb(void *data, int type, void *event)
// make this call generic
if (!sd->win) return 1;
if (ev->win != sd->win->evas_win) return 1;
// this doesnt work:
//if (ev->win != sd->win->evas_win) return 1;
if(ev->win != ecore_evas_software_x11_subwindow_get(sd->win->ecore_evas))
return 1;
if (!strcmp(ev->keysymbol, "Up"))
_e_fm_icon_select_up(sd);