Lines Matching defs:de
1708 damage_win (Display *dpy, XDamageNotifyEvent *de)
1710 win *w = find_win (dpy, de->drawable);
1719 w->damage_bounds = de->area;
1723 if (de->area.x < w->damage_bounds.x)
1725 w->damage_bounds.width += (w->damage_bounds.x - de->area.x);
1726 w->damage_bounds.x = de->area.x;
1728 if (de->area.y < w->damage_bounds.y)
1730 w->damage_bounds.height += (w->damage_bounds.y - de->area.y);
1731 w->damage_bounds.y = de->area.y;
1733 if (de->area.x + de->area.width > w->damage_bounds.x + w->damage_bounds.width)
1734 w->damage_bounds.width = de->area.x + de->area.width - w->damage_bounds.x;
1735 if (de->area.y + de->area.height > w->damage_bounds.y + w->damage_bounds.height)
1736 w->damage_bounds.height = de->area.y + de->area.height - w->damage_bounds.y;
1740 de->area.x,
1741 de->area.y,
1742 de->area.width,
1743 de->area.height,