From 6c639891311eed4e82f9145ff24d16f4d44a0f0a Mon Sep 17 00:00:00 2001 From: epoch Date: Fri, 3 Nov 2017 01:08:19 -0500 Subject: made it so clicking on a shape triggers the same type of output that the old distance based + enter selection did --- src/graphics_cs_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/graphics_cs_x11.c b/src/graphics_cs_x11.c index 8cb6d46..a9c3af3 100644 --- a/src/graphics_cs_x11.c +++ b/src/graphics_cs_x11.c @@ -108,7 +108,7 @@ void draw_cs_shape(cs_s_t s) {//this is implemented as draw_cs_line... hrm. it c gra_global.mousex < maxx && gra_global.mousey < maxy) { if(gra_global.buttonpressed) {//if we're inside the bounding box let's make SOMETHING happen. - printf("# clicked on object! %s\n",s.id); + printf("%s action %s\n",global.user,s.id); } bb.id=strdup("boundingbox"); bb.len=4; -- cgit v1.2.3