Who added GPM support to w3m?
Why didn't this person holler when I broke it? :-)
Leaving the drawing of the pointer to the GPM server is convenient,
but there's a side effect. The pointer remains invisible while a
button is being pressed, i.e. for dragging. We use dragging for
scrolling, and it helps when the mouse pointer is visible there.
I suggest the patch below which reverts some of my previous changes
(vs 0.1.7):
--- main.c.orig Mon Feb 7 20:24:46 2000
+++ main.c Mon Feb 7 20:26:22 2000
@@ -3140,6 +3140,7 @@
}
}
else {
+ GPM_DRAWPOINTER(event);
return 0;
}
x = event->x;
--- menu.c.orig Mon Feb 7 20:27:58 2000
+++ menu.c Mon Feb 7 20:33:46 2000
@@ -869,6 +869,7 @@
}
}
else {
+ GPM_DRAWPOINTER(event);
return 0;
}
x = event->x;
--- terms.c.orig Mon Feb 7 20:26:40 2000
+++ terms.c Mon Feb 7 20:27:05 2000
@@ -1543,7 +1543,7 @@
#ifdef USE_GPM
else {
conn.eventMask = ~0;
- conn.defaultMask = GPM_MOVE|GPM_HARD;
+ conn.defaultMask = 0;
conn.maxMod = 0;
conn.minMod = 0;
Gpm_Open(&conn,0); /* don't care even if it fails */
-- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT