Mercurial > MadButterfly
comparison src/X_main.c @ 32:69c8e264890d
Remove old path after every shape checking for a position.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 05 Aug 2008 18:28:50 +0800 |
parents | da770188a44d |
children | d82749f77108 |
comparison
equal
deleted
inserted
replaced
31:da770188a44d | 32:69c8e264890d |
---|---|
22 } | 22 } |
23 if(shape != NULL && shape->stroke != NULL) { | 23 if(shape != NULL && shape->stroke != NULL) { |
24 shape->stroke_width += 2; | 24 shape->stroke_width += 2; |
25 rdman_shape_changed(rdman, shape); | 25 rdman_shape_changed(rdman, shape); |
26 rdman_redraw_changed(rdman); | 26 rdman_redraw_changed(rdman); |
27 XFlush(display); | |
28 } | 27 } |
29 } | 28 } |
30 last_shape = shape; | 29 last_shape = shape; |
31 } | 30 } |
32 | 31 |