Index: glines.c
===================================================================
RCS file: /cvs/gnome/gnome-games/glines/glines.c,v
retrieving revision 1.85
diff -u -r1.85 glines.c
--- glines.c	9 Oct 2004 01:00:26 -0000	1.85
+++ glines.c	9 Oct 2004 19:07:51 -0000
@@ -1228,8 +1228,8 @@
 	if (blank_pixmap)
 		g_object_unref (blank_pixmap);
 
-	xboxsize = event->width/FIELDSIZE;
-	yboxsize = event->height/FIELDSIZE;
+	xboxsize = (event->width - 1) / FIELDSIZE;
+	yboxsize = (event->height - 1) / FIELDSIZE;
 	boxsize = MIN (xboxsize, yboxsize);
 
 	ball_pixmap = gdk_pixmap_new (draw_area->window, boxsize*4, boxsize*7,
@@ -1580,6 +1580,7 @@
 	g_signal_connect (G_OBJECT (draw_area), "expose_event",
 			  G_CALLBACK (field_expose_event), NULL);
 	gridframe = games_grid_frame_new (FIELDSIZE, FIELDSIZE);
+	games_grid_frame_set_padding (GAMES_GRID_FRAME(gridframe), 1, 1);
 	gtk_container_add (GTK_CONTAINER (gridframe), draw_area);
 	gtk_table_attach_defaults (GTK_TABLE (table), gridframe, 0, 1, 1, 10);
 
