Re: [PATCH] man - apmd(8) reference

2022-06-19 Thread wdaver
3rd time trying to send - this time trying the phone…


Ah - mangl returns the "Alliance ProMotion video driver" page for
apm(4) when searching and when clicking links.  Maybe I need to use
another tool...  


Should I send this as a bug to ports or bugs mailing list?

—
David Rinehart

> On Jun 18, 2022, at 11:56 PM, David Rinehart  wrote:
> 
> Ahhh - mangl returns the "Alliance ProMotion video driver" page for
> apm(4) when searching and when clicking links.  Maybe I need to use
> another tool...  
> 
> 
> Should I send this as a bug to ports or bugs mailing list?
> 
> 
>> On 6/18/22 23:46, Theo Buehler wrote:
>>> On Sat, Jun 18, 2022 at 11:37:00PM -0700, David Rinehart wrote:
>>> apm(4): apm - Alliance ProMotion video driver
>> This reference is about the power management apm kernel driver which
>> exists only on amd64, arm64, i386, loongson, and macppc, e.g.:
>> 
>> https://man.openbsd.org/man4/amd64/apm.4


ws(4): Wheel emulation touch scroll on touchscreens

2020-07-06 Thread wdaver

My first diff...

This patch has the ws driver update mouse cursor absolute position
before scrolling begins on a touchscreen when wheel emulation is
enabled.

This change should not impact other uses of wheel emulation.

Is this ok?

Index: driver/xf86-input-ws/src/ws.c
===
RCS file: /cvs/xenocara/driver/xf86-input-ws/src/ws.c,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 driver/xf86-input-ws/src/ws.c
--- driver/xf86-input-ws/src/ws.c    24 Mar 2019 17:59:19 -  1.64
+++ driver/xf86-input-ws/src/ws.c    6 Jul 2020 21:57:03 -
@@ -679,7 +679,8 @@ wsReadInput(InputInfoPtr pInfo)
         int ydelta = hw.ay - priv->old_ay;
         priv->old_ax = hw.ax;
         priv->old_ay = hw.ay;
-        if (wsWheelEmuFilterMotion(pInfo, xdelta, ydelta))
+        if (wsWheelEmuFilterMotion(pInfo, xdelta, ydelta)
+        && priv->type != WSMOUSE_TYPE_TPANEL)
             return;

         /* absolute position event */