From: John Darrington Date: Mon, 27 Jul 2009 09:29:43 +0000 (+0200) Subject: Redraw affected areas after de-selecting a region X-Git-Tag: build37~34 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d5e09c01ddffc98430c3c55ed3ccb821180cbf;p=pspp-builds.git Redraw affected areas after de-selecting a region --- 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); } } }