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

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon, 07 Dec 2015 17:13:34 +0100

Greetings.

On Mon, 07 Dec 2015 17:13:34 +0100 noname <noname_AT_inventati.org> 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.


Sincerely,

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