style matching in current CVS

2006-04-06 Thread Dominik Vogt
First, this code from style.c generates a warning: if (SID_GET_HAS_NAME(s_id) (fw-style_name == NULL (matchWildcards(SID_GET_NAME(s_id), fw-class.res_class) == TRUE || matchWildcards(SID_GET_NAME(s_id), fw-class.res_name) == TRUE ||

Re: style matching in current CVS

2006-04-06 Thread Dominik Vogt
On Thu, Apr 06, 2006 at 11:13:03AM +0200, Dominik Vogt wrote: First, this code from style.c generates a warning: if (SID_GET_HAS_NAME(s_id) (fw-style_name == NULL (matchWildcards(SID_GET_NAME(s_id), fw-class.res_class) == TRUE ||

Re: style matching in current CVS

2006-04-06 Thread Viktor Griph
On Thu, 6 Apr 2006, Dominik Vogt wrote: On Thu, Apr 06, 2006 at 11:13:03AM +0200, Dominik Vogt wrote: First, this code from style.c generates a warning: if (SID_GET_HAS_NAME(s_id) (fw-style_name == NULL (matchWildcards(SID_GET_NAME(s_id), fw-class.res_class) == TRUE ||

Re: style matching in current CVS

2006-04-06 Thread Dominik Vogt
On Thu, Apr 06, 2006 at 11:42:17AM +0200, Viktor Griph wrote: Just some conciderations: The manpage states that styles are search for in a specific order. I really fail to see how this information is useful while examining the logic, other than for the face that matchig early will save some

Re: style matching in current CVS

2006-04-06 Thread Viktor Griph
On Thu, 6 Apr 2006, Dominik Vogt wrote: On Thu, Apr 06, 2006 at 11:42:17AM +0200, Viktor Griph wrote: Just some conciderations: The manpage states that styles are search for in a specific order. I really fail to see how this information is useful while examining the logic, other than for the

Re: style matching in current CVS

2006-04-06 Thread Dominik Vogt
On Thu, Apr 06, 2006 at 12:13:17PM +0200, Viktor Griph wrote: On Thu, 6 Apr 2006, Dominik Vogt wrote: On Thu, Apr 06, 2006 at 11:42:17AM +0200, Viktor Griph wrote: Just some conciderations: The manpage states that styles are search for in a specific order. I really fail to see how this

Re: style matching in current CVS

2006-04-06 Thread Mikhael Goikhman
On 06 Apr 2006 12:47:59 +0200, Dominik Vogt wrote: On Thu, Apr 06, 2006 at 12:13:17PM +0200, Viktor Griph wrote: On Thu, 6 Apr 2006, Dominik Vogt wrote: Do you mean this text: They are searched in the reverse order stated. When two conflicting styles apply to the same window,

Re: style matching in current CVS

2006-04-06 Thread Cameron Simpson
On 06Apr2006 12:58, mikhael goikhman [EMAIL PROTECTED] wrote: | So, how about this: | | When two opposite style options are specified for the same window | (like Sticky and Slippery), then the last specified option wins. Please say opposing instead of opposite. Opposite suggests exact

Re: style matching in current CVS

2006-04-06 Thread Mikhael Goikhman
On 07 Apr 2006 11:42:43 +1000, Cameron Simpson wrote: On 06Apr2006 12:58, mikhael goikhman [EMAIL PROTECTED] wrote: | | When two opposite style options are specified for the same window | (like Sticky and Slippery), then the last specified option wins. Please say opposing instead of