Re: Deeper pixmaps for xcb-shape masks

Javier Pollak <[email protected]>
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <CAJTdg8H3-cLQ0wDBm6jAgk+6-OtWOuWTkjWFCFh5cFS8A560Dg@mail.gmail.com>
I see..

So if I wanted to have proper rounded bounding and antialiased corners, I
would have to apply the bounding through shape-ext. and then reclip it in
the compositor?

Proper bounding: having the mouse hi er over rounded corners and behave as
expected

On Sun, Sep 16, 2018, 12:20 PM Uli Schlachter, <[email protected]> wrote:

> Hi,
>
> On 14.09.2018 19:47, Javier Pollak wrote:
> > Hi, I'm working on a patch for bspwm to add rounded corners to windows
> and
> > their borders.
> [...]
> > Is there any way to remedy this?
> > What I tried so far is to apply an additional mask to the window
> background
> > itself since it allows for a mask of the same depth as the window.
> > The problem with that solution is that it does not apply to the border...
>
> If the problem is X11 window borders, then the only solution is not to
> use them, but to draw your own borders instead.
>
> In general, you can use alpha values through the RENDER extension for
> anti-aliased edges, but only if a compositing manager is running since
> the X11 server does not do any compositing for you.
>
> Cheers,
> Uli
> --
> 99 little bugs in the code
> 99 little bugs in the code
> Take one down, patch it around
> 117 little bugs in the code
>   -- @irqed
>
>

_______________________________________________
Xcb mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xcb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.