comparison src/X_main.c @ 77:a6763f080da5

-
author Thinker K.F. Li <thinker@branda.to>
date Wed, 20 Aug 2008 00:32:11 +0800
parents 9ab15ebc9061
children b90abd31a281
comparison
equal deleted inserted replaced
76:8706356a61b4 77:a6763f080da5
56 y = mevt->y; 56 y = mevt->y;
57 shape = find_shape_at_pos(rdman, x, y, &in_stroke); 57 shape = find_shape_at_pos(rdman, x, y, &in_stroke);
58 hint_shape(rdman, shape); 58 hint_shape(rdman, shape);
59 break; 59 break;
60 case Expose: 60 case Expose:
61 rdman_redraw_all(rdman); 61 rdman_redraw_area(rdman, evt.xexpose.x, evt.xexpose.y,
62 /* rdman_redraw_area(rdman, evt.xexpose.x, evt.xexpose.y, 62 evt.xexpose.width, evt.xexpose.height);
63 evt.xexpose.width, evt.xexpose.height); */
64 break; 63 break;
65 } 64 }
66 } 65 }
67 rdman_redraw_changed(rdman); 66 rdman_redraw_changed(rdman);
68 XFlush(display); 67 XFlush(display);