It obtains clwindowstyle by peeking at the widget's parent, which we control, but that doesn't really help. There is no way to make this style look good on a non-uniform background; the theme engine needs to be redesigned to be useful for Web content. Since the Clearlooks theme is the basis for Novell's next theme, my motivation to get this working just dropped to zero.
However, I've already fixed the issue with multiple focus rects, so I'll attach that patch here for posterity.
Clearlooks paints buttons and textboxes with a gradient border, like so:
cl_rectangle_ set_gradient (&r.border_ gradient,
&clwindowstyle ->inset_ dark[windowstat e],
&clwindowstyle ->inset_ light[windowsta te]);
It obtains clwindowstyle by peeking at the widget's parent, which we control, but that doesn't really help. There is no way to make this style look good on a non-uniform background; the theme engine needs to be redesigned to be useful for Web content. Since the Clearlooks theme is the basis for Novell's next theme, my motivation to get this working just dropped to zero.
However, I've already fixed the issue with multiple focus rects, so I'll attach that patch here for posterity.