Author: akv
Date: 2013-06-09 00:06:15 +0200 (Sun, 09 Jun 2013)
New Revision: 4411
Modified:
trunk/src/rs-actions.c
Log:
Resetting screensaver when opening a new photo with slideshow.
Modified: trunk/src/rs-actions.c
===================================================================
--- trunk/src/rs-actions.c 2013-06-08 12:32:33 UTC (rev 4410)
+++ trunk/src/rs-actions.c 2013-06-08 22:06:15 UTC (rev 4411)
@@ -1088,7 +1088,13 @@
rs_store_select_prevnext(rs->store, current_filename, 2);
if (rs_store_get_prevnext(rs->store, current_filename, 2))
+ {
+ /* FIXME: there must be a better way */
+ gint retval = system("xset s reset");
+ if (retval);
+
return TRUE;
+ }
else
{
rs->slideshow_running = FALSE;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit