1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-06 17:35:47 +01:00

- Now when Window Maker calls wmsetbg to set the background, it will pass the

correct switch to it, depending on the value of the DisableDithering option.
- Replaced some functions with macros in WINGs (wmkpoint(), wmksize() and
  wmkrange()). They're less expensive to call this way.
- Fixed a memleak in the info panel.
This commit is contained in:
dan
2001-04-09 23:43:09 +00:00
parent 6bbe6f2b9d
commit 9035122c5f
10 changed files with 32 additions and 71 deletions

View File

@@ -316,42 +316,5 @@ W_PaintTextAndImage(W_View *view, int wrap, GC textGC, W_Font *font,
WMRange
wmkrange(int start, int count)
{
WMRange range;
range.position = start;
range.count = count;
return range;
}
WMPoint
wmkpoint(int x, int y)
{
WMPoint point;
point.x = x;
point.y = y;
return point;
}
WMSize
wmksize(unsigned int width, unsigned int height)
{
WMSize size;
size.width = width;
size.height = height;
return size;
}