summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamfile5
-rw-r--r--TODO2
-rw-r--r--apps/unix/x11pdf.c5
3 files changed, 8 insertions, 4 deletions
diff --git a/Jamfile b/Jamfile
index 0409415a..ae7561f5 100644
--- a/Jamfile
+++ b/Jamfile
@@ -36,10 +36,7 @@ if $(NEED_STRLCAT) = yes { DEFINES += NEED_STRLCAT ; }
if $(NEED_STRLCPY) = yes { DEFINES += NEED_STRLCPY ; }
if $(NEED_STRSEP) = yes { DEFINES += NEED_STRSEP ; }
-HDRS =
- [ FDirName $(TOP) include ]
- [ FDirName $(TOP) stream ]
- ;
+HDRS = [ FDirName $(TOP) include ] ;
# --------------------------------------------------------------------------
diff --git a/TODO b/TODO
index c7a67117..cb9c1fc1 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+cmap one-to-many mapping
+
immediate plan:
* design gui for editor
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c
index 3fad2fb8..7c5633d5 100644
--- a/apps/unix/x11pdf.c
+++ b/apps/unix/x11pdf.c
@@ -395,6 +395,8 @@ int main(int argc, char **argv)
int len;
unsigned char buf[128];
KeySym keysym;
+ int oldx = 0;
+ int oldy = 0;
while ((c = getopt(argc, argv, "d:")) != -1)
{
@@ -449,9 +451,12 @@ int main(int argc, char **argv)
len = XLookupString(&xevt.xkey, buf, sizeof buf, &keysym, 0);
if (len)
onkey(buf[0]);
+ onmouse(oldx, oldy, 0, 0);
break;
case MotionNotify:
+ oldx = xevt.xbutton.x;
+ oldy = xevt.xbutton.y;
onmouse(xevt.xbutton.x, xevt.xbutton.y, xevt.xbutton.button, 0);
break;