mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-22 10:05:46 +01:00
- Fixed labels not to display '\n' as a character if multiple '\n' are passed
- Fixed Legal Panel not to display rectangles in place of new lines. - Removed some obsoleted/unused files from cvs - Fixed a bug with Sloppy focus when changing workspaces (from a debian user bug report/patch)
This commit is contained in:
@@ -176,11 +176,14 @@ W_PaintText(W_View *view, Drawable d, WMFont *font, int x, int y,
|
||||
|
||||
WMDrawString(view->screen, d, gc, font, line_x, y, ptr, count);
|
||||
|
||||
y += fheight;
|
||||
if (wrap && ptr[count]!='\n')
|
||||
y += fheight;
|
||||
|
||||
while (ptr[count] && ptr[count]=='\n') {
|
||||
y += fheight;
|
||||
count++;
|
||||
}
|
||||
|
||||
if (isspace(ptr[count]))
|
||||
count++;
|
||||
|
||||
ptr += count;
|
||||
length -= count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user