about summary refs log tree commit diff stats
path: root/070display.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-24 16:55:18 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-24 16:55:18 -0700
commite766fd13d6d2102491979c98803f566b04d2f258 (patch)
treee23d1965b8559d4d9d861372b34505df5e4929a4 /070display.cc
parent67b0a7fccf2bca90ab24ae430bf9cc2790171dbf (diff)
downloadmu-e766fd13d6d2102491979c98803f566b04d2f258.tar.gz
1640
Another bug in manually running the editor. At least show the error
message when you raise warnings in console mode.

Later we'll want to create a separate side channel and transparently
plumb warnings to the 'menu bar' of the editor..
Diffstat (limited to '070display.cc')
-rw-r--r--070display.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/070display.cc b/070display.cc
index 76950156..07656c7d 100644
--- a/070display.cc
+++ b/070display.cc
@@ -271,7 +271,7 @@ case CHECK_FOR_INTERACTION: {
     break;
   }
   if (event_type == TB_EVENT_MOUSE) {
-    products.at(0).push_back(/*mouse event*/1);
+    products.at(0).push_back(/*touch event*/2);
     products.at(0).push_back(event.key);  // which button, etc.
     products.at(0).push_back(event.y);  // row
     products.at(0).push_back(event.x);  // column