From 770dd2625e4b1532a1f259f44bb11b99d325afeb Mon Sep 17 00:00:00 2001 From: codewarrior Date: Fri, 4 Nov 2005 22:53:08 +0000 Subject: [PATCH] - getting the event window doesnt work this way SVN revision: 18300 --- src/bin/e_fileman_smart.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_fileman_smart.c b/src/bin/e_fileman_smart.c index fd7f9d5ae..844d6121b 100644 --- a/src/bin/e_fileman_smart.c +++ b/src/bin/e_fileman_smart.c @@ -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);