Martin Dietze wrote:
> Sorry for the dumb question, but is there anyone who can give me
> a hint on where to start for making this fix an optional window
> attribute (and: how to access this information where the
> _NET_ACTIVE_WINDOW event is handled)?

I don't know too. But I would start by searching how another
property from the Attributes menu is handled. I chose the
"Disable resize bar", so I grep'ed for resizebar and
among the results I found things like:

WSETUFLAG(wwin, no_resizebar, 1);

which is probably that option. So the idea would be to mimic
that thing.

Grepping a bit more I found this kind of thing

if (HAS_RESIZEBAR(wwin))

in a few places, where the macro checks the no_resizebar option.

So perhaps in that line that your patch modified you could stick
something similar?

I still don't understand how in the end that works in a
application by application level, but hey, there are always
things to learn. This is what makes this interesting.

I only wish the day had 48 hours!


-- 
To unsubscribe, send mail to [email protected].

Reply via email to