Blame xscreensaver-5.21-maze-restart.patch
|
TASAKA Mamoru |
b440854 |
--- xscreensaver-5.21/hacks/maze.c.restart 2012-06-10 17:41:55.000000000 +0900
|
|
TASAKA Mamoru |
b440854 |
+++ xscreensaver-5.21/hacks/maze.c 2013-05-30 19:15:50.248757217 +0900
|
|
TASAKA Mamoru |
b440854 |
@@ -1587,6 +1587,8 @@ maze_draw (Display *dpy, Window window,
|
|
TASAKA Mamoru |
b440854 |
st->restart = 0;
|
|
TASAKA Mamoru |
b440854 |
st->stop = 0;
|
|
TASAKA Mamoru |
b440854 |
st->state = 1;
|
|
TASAKA Mamoru |
b440854 |
+ if (st->solve_state && st->solve_state->running)
|
|
TASAKA Mamoru |
b440854 |
+ st->solve_state->running = 0;
|
|
TASAKA Mamoru |
b440854 |
|
|
TASAKA Mamoru |
b440854 |
st->sync_p = ((random() % 4) != 0);
|
|
TASAKA Mamoru |
b440854 |
|