@ -40,6 +40,12 @@ e_modapi_init(E_Module *m)
e_action_predef_name_set ( _ ( " Window : List " ) ,
_ ( " Previous window of same class " ) ,
" winlist " , " class-prev " , NULL , 0 ) ;
e_action_predef_name_set ( _ ( " Window : List " ) ,
_ ( " Next window class " ) , " winlist " ,
" classes-next " , NULL , 0 ) ;
e_action_predef_name_set ( _ ( " Window : List " ) ,
_ ( " Previous window class " ) ,
" winlist " , " classes-prev " , NULL , 0 ) ;
e_action_predef_name_set ( _ ( " Window : List " ) , _ ( " Window on the Left " ) ,
" winlist " , " left " , NULL , 0 ) ;
e_action_predef_name_set ( _ ( " Window : List " ) , _ ( " Window Down " ) ,
@ -107,22 +113,32 @@ _e_mod_action_winlist_cb(E_Object *obj, const char *params)
{
if ( ! strcmp ( params , " next " ) )
{
if ( ! e_winlist_show ( zone , EINA_FALS E ) )
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " prev " ) )
{
if ( ! e_winlist_show ( zone , EINA_FALS E ) )
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " class-next " ) )
{
if ( ! e_winlist_show ( zone , EINA_TRUE ) )
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " class-prev " ) )
{
if ( ! e_winlist_show ( zone , EINA_TRUE ) )
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " classes-next " ) )
{
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " classes-prev " ) )
{
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " left " ) )
@ -144,7 +160,7 @@ _e_mod_action_winlist_cb(E_Object *obj, const char *params)
}
else
{
if ( ! e_winlist_show ( zone , EINA_FALS E ) )
if ( ! e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_next ( ) ;
}
}
@ -174,28 +190,42 @@ _e_mod_action_winlist_mouse_cb(E_Object *obj, const char *params,
{
if ( ! strcmp ( params , " next " ) )
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " prev " ) )
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " class-next " ) )
{
if ( e_winlist_show ( zone , EINA_TRUE ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " class-prev " ) )
{
if ( e_winlist_show ( zone , EINA_TRUE ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " classes-next " ) )
{
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " classes-prev " ) )
{
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
@ -219,7 +249,7 @@ _e_mod_action_winlist_mouse_cb(E_Object *obj, const char *params,
}
else
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
@ -250,28 +280,42 @@ _e_mod_action_winlist_key_cb(E_Object *obj, const char *params, Ecore_Event_Key
{
if ( ! strcmp ( params , " next " ) )
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " prev " ) )
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " class-next " ) )
{
if ( e_winlist_show ( zone , EINA_TRUE ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " class-prev " ) )
{
if ( e_winlist_show ( zone , EINA_TRUE ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASS_WINDOWS ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
}
else if ( ! strcmp ( params , " classes-next " ) )
{
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;
}
else if ( ! strcmp ( params , " classes-prev " ) )
{
if ( e_winlist_show ( zone , E_WINLIST_FILTER_CLASSES ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_prev ( ) ;
@ -295,7 +339,7 @@ _e_mod_action_winlist_key_cb(E_Object *obj, const char *params, Ecore_Event_Key
}
else
{
if ( e_winlist_show ( zone , EINA_FALS E ) )
if ( e_winlist_show ( zone , E_WINLIST_FILTER_NON E ) )
e_winlist_modifiers_set ( ev - > modifiers ) ;
else
e_winlist_next ( ) ;