comparison event.c @ 19:b5510d0c6d43

added basic mouse support (actually we don't need more)
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 21:41:49 +0200
parents 1efa34c6e1b6
children 4560e0882c1d
comparison
equal deleted inserted replaced
18:1efa34c6e1b6 19:b5510d0c6d43
84 c->r[RFloat].y = ev->y; 84 c->r[RFloat].y = ev->y;
85 if(ev->value_mask & CWWidth) 85 if(ev->value_mask & CWWidth)
86 c->r[RFloat].width = ev->width; 86 c->r[RFloat].width = ev->width;
87 if(ev->value_mask & CWHeight) 87 if(ev->value_mask & CWHeight)
88 c->r[RFloat].height = ev->height; 88 c->r[RFloat].height = ev->height;
89 if(ev->value_mask & CWBorderWidth)
90 c->border = ev->border_width;
91 } 89 }
92 90
93 wc.x = ev->x; 91 wc.x = ev->x;
94 wc.y = ev->y; 92 wc.y = ev->y;
95 wc.width = ev->width; 93 wc.width = ev->width;