Displaying 1 result from an estimated 1 matches for "button_state_paint".
2007 Apr 07
3
GWD button drawing prob-- any Cairo pro have insights?
...obucket.com/albums/s273/m1kecook/Compiz/?action=view¤t=gwd-button-prob.flv
The following patch seems to work around the problem (but only if I set the
alpha less than 1.0):
--- gtk/window-decorator/gtk-window-decorator.c
+++ gtk/window-decorator/gtk-window-decorator.c
@@ -943,7 +943,7 @@ button_state_paint (cairo_t *cr,
cairo_stroke_preserve (cr);
if (state & IN_EVENT_WINDOW)
- cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
+ cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.99);
else
cairo_set_source_rgba (cr, color->r, color->g, color->b,...