X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=lib%2Fgtk-contrib%2Fpsppire-sheet.c;h=a3bb1c8fcb96ea9e4dfa02a39a8a08d6cc12480c;hp=7e36381e0ba1ab9f64774364f795016a5a174233;hb=38d5e09c01ddffc98430c3c55ed3ccb821180cbf;hpb=b62c12a425ab03fd37879e224e29ed53d167f8d4 diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index 7e36381e..a3bb1c8f 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -3056,7 +3056,13 @@ psppire_sheet_button_press (GtkWidget *widget, GdkEventButton *event) } else { + GdkRectangle area; sheet->select_status = PSPPIRE_SHEET_NORMAL; + + rectangle_from_range (sheet, &sheet->range, &area); + area.x++; + area.y++; + gdk_window_invalidate_rect (sheet->sheet_window, &area, FALSE); } } }