Greetings.

On Sun, 14 Apr 2013 19:40:23 +0200 Mark Hills <m...@xwax.org> wrote:
> On Sat, 13 Apr 2013, Christoph Lohmann wrote:
> 
> > Greetings.
> > 
> > On Sat, 13 Apr 2013 09:44:47 +0200 Mark Hills <m...@xwax.org> wrote:
> > > I find when a window is un-focused that the cursor location looks too
> > > much like display content.
> > > 
> > > Please consider this patch, which mimics xterm behaviour by displaying
> > > a hollow rectangle, and makes a saving of one colourmap entry :)
> > 
> > I  have  applied  your patch using the Xft routines. It looks a bit more
> > ugly to draw a simple rectangle, but it works.
> > 
> > Please try the latest st out and see if this fits to your needs.
> 
> Thanks, I tried it and it looks the same. I'll continue to test.
> 
> I can see why it's good to use one API throughout, but I was not aware 
> that Xft was intended for anything but fonts -- it doesn't seem suckless 
> to have to trick it into drawing a rectangle like this.
> 
> More generally (st and beyond) I'm interested in why there is a push to 
> deprecate use of functions like XDrawRectangle when there does not seem to 
> be adequate replacement; I can't see an alternative in XRender or Xft 
> without (presumably) more chatter with the server. I also did some tests 
> (admittedly behind QT) and could not get comparable performance from 
> XRender.

I  don’t have the lifetime to fix X11 and X11 abstraction distortion and
ugliness. This is just about keeping to one API.


Sincerely,

Christoph Lohmann


Reply via email to