Bug 877606 - Port GTK2 to GTK3 - widget clipping. r=karlt

This commit is contained in:
Martin Stransky 2013-07-24 09:07:09 -04:00
parent 7407188631
commit aa92d35991

View File

@ -3048,6 +3048,10 @@ moz_gtk_widget_paint(GtkThemeWidgetType widget, cairo_t *cr,
GtkWidgetState* state, gint flags,
GtkTextDirection direction)
{
/* A workaround for https://bugzilla.gnome.org/show_bug.cgi?id=694086
*/
cairo_new_path(cr);
switch (widget) {
case MOZ_GTK_BUTTON:
if (state->depressed) {