discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5e8171d6862f24bb8272ffc4cb38e0ed3661cc2f

commit 5e8171d6862f24bb8272ffc4cb38e0ed3661cc2f
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Nov 29 12:18:55 2013 -0500

    fix winlist first selection check
    
    I added this a long time ago but forgot to do the right comparison
---
 src/modules/winlist/e_winlist.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c
index 638ad99..67b4f84 100644
--- a/src/modules/winlist/e_winlist.c
+++ b/src/modules/winlist/e_winlist.c
@@ -200,8 +200,15 @@ e_winlist_show(E_Zone *zone, E_Winlist_Filter filter)
                             &_last_pointer_x, &_last_pointer_y);
 
    _e_winlist_activate_nth(1);
-   if ((eina_list_count(_wins) > 1) && (eina_list_data_get(_win_selected) == 
_last_border))
-     e_winlist_next();
+
+   if ((eina_list_count(_wins) > 1))
+     {
+        E_Winlist_Win *ww;
+
+        ww = eina_list_data_get(_win_selected);
+        if (ww && (ww->border == _last_border))
+          e_winlist_next();
+     }
    evas_event_thaw(_winlist->evas);
    _e_winlist_size_adjust();
 

-- 


Reply via email to