Skip to content

Commit

Permalink
Remove a redundant call
Browse files Browse the repository at this point in the history
No need to set shapes twice in a row.
  • Loading branch information
Matthias Clasen committed Oct 29, 2014
1 parent 0b4c376 commit 8765970
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gtk/gtkwidget.c
Original file line number Diff line number Diff line change
Expand Up @@ -12951,7 +12951,6 @@ gtk_widget_update_input_shape (GtkWidget *widget)
free_region = TRUE;
region = cairo_region_copy (app_region);
cairo_region_intersect (region, csd_region);
gdk_window_input_shape_combine_region (priv->window, region, 0, 0);
}
else if (app_region)
region = app_region;
Expand Down

0 comments on commit 8765970

Please sign in to comment.