Re: [hackers] [st] [PATCH] Replace four XftDrawRect calls with one XDrawRectangle

From: Christoph Lohmann <>
Date: Mon, 07 Dec 2015 17:13:34 +0100


On Mon, 07 Dec 2015 17:13:34 +0100 noname <> wrote:
> This part looks especially ugly, effectively uses XftDrawRect to draw
> lines, so I suggest to rewrite it this way.

If you are using the X11 functions you need to specify the line width
and line style for the gc too. I wanted to keep to the Xft functions to
do the drawing. The X11 stack isn’t nice here.


Christoph Lohmann
Received on Mon Dec 07 2015 - 17:13:34 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 07 2015 - 17:24:24 CET