Re: [dev] [PATCH][dwm] new alpha patch for 56a31dc

From: <joelbars_AT_gmail.com>
Date: Fri, 23 Dec 2016 11:32:58 -0300

Hi Eon,

Thanks I owe you at least a beer, it works perfectly! I made the
changes and finally have both, alpha and systray working together,
great job!

Thanks a lot.
Muito obrigado.
Joel


2016-12-23 4:52 GMT-03:00 Eon S. Jeon <esjeon_AT_hyunmu.am>:
> On 12/19/2016 9:04 PM, joelbars_AT_gmail.com wrote:
>>
>> Hi Eon,
>>
>> Thanks for this code is working perfectly. I know that this is a little
>> old thread but, I wanted to know if you made this patch work with
>> systray, I tried but I couldn't find the reason, if I activate systray
>> and this patch dwm doesn't start. I really appreciate if you could help
>> me, I'm supposing that the problem is on updatebars(), I think that
>> systray needs something on this method to work properly and I don't have
>> the necessary knowledge to fix.
>>
>> Best regards and thanks for your really great work.
>>
>
> Hi, Joel
>
> I checked your email last night and spent some time on the problem.
>
> The source of problem was, indeed, "visual". The systray window was using
> the default visual, which doesn't support alpha values. All I had to do was
> to create `systray->win` with proper visual and attributes, and now it works
> like charm.
>
> I've also noticed that tray icons were using default visuals, and I wanted
> to let them use ARGB visual. I remembered seeing an atom called
> _NET_SYSTEM_TRAY_VISUAL, which allows tray icons to use the visual of its
> parent(systray). I tried using it, but the result was not quite what I
> expected[1]. (Notice the bright background of the heart icon.)
>
> I'll post my work through another email.
>
> Sincerely,
> Eon
>
>
> [1]: https://imgur.com/a/qTqtK
>
Received on Fri Dec 23 2016 - 15:32:58 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 23 2016 - 15:36:12 CET