[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Slideshow patch



As per a conversation i've had with devilhorns this provides xinerama
support.  Essentially, if you have xinerama running, there is a new
option in the config dialoge for slideshow.  Possible options are now

-Change BG for all desktops
-Change BG for this desktop
-Change BG for this zone (all desktops on this monitor)



--ZGold
Index: e_mod_config.c
===================================================================
RCS file: /var/cvs/e/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.30
diff -r1.30 e_mod_config.c
113a114,118
>    if(ecore_x_xinerama_screen_count_get() > 1)
>      {
>        ob = e_widget_radio_add(evas, _("Set wallpaper on current monitor (Xinerama support)"), 2, rg);
>        e_widget_framelist_object_append (of, ob);
>      }
Index: e_mod_main.c
===================================================================
RCS file: /var/cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.39
diff -r1.39 e_mod_main.c
538a539
>    int i;
564c565,575
<    
---
>    else if (ci->all_desks == 2)
>      {
> 	con = e_container_current_get(e_manager_current_get());    
>         z = e_zone_current_get(con);
>         for (i = 0; i < z->desk_x_count*z->desk_y_count; i++)
>           {
>             e_bg_del(con->num, z->num, z->desks[i]->x, z->desks[i]->y);
>             e_bg_add(con->num, z->num, z->desks[i]->x, z->desks[i]->y, buf);            
> 	  }	
>      }   
>