summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-11-03 01:08:19 -0500
committerepoch <epoch@hacking.allowed.org>2017-11-03 01:08:19 -0500
commit6c639891311eed4e82f9145ff24d16f4d44a0f0a (patch)
tree57db2ccc373caa1d5767648f041238eecea96d7f /src
parent69b51624469f6cb594c6bdca9b7b97141a1c0a0f (diff)
downloadhackvr-6c639891311eed4e82f9145ff24d16f4d44a0f0a.tar.gz
hackvr-6c639891311eed4e82f9145ff24d16f4d44a0f0a.zip
made it so clicking on a shape triggers the same type of output that the old distance based + enter selection did
Diffstat (limited to 'src')
-rw-r--r--src/graphics_cs_x11.c2
1 files changed, 1 insertions, 1 deletions
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;