Commits

a_ba committed b394f3b

fixed possible 1s delay in screen refresh

  • Participants
  • Parent commits 26c2863

Comments (0)

Files changed (1)

 		refresh_image(NULL);
 
 	} else if (!refresh_timeout) {
-		refresh_timeout = g_timeout_add (next_refresh - timestamp, _try_refresh_image_timeout, NULL);
+		refresh_timeout = g_timeout_add (next_refresh - timestamp, _try_refresh_image_timeout, (gpointer)next_refresh);
 	}
 }
 #endif