summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emu/port/devpointer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/emu/port/devpointer.c b/emu/port/devpointer.c
index 30bad028..0590c2cc 100644
--- a/emu/port/devpointer.c
+++ b/emu/port/devpointer.c
@@ -74,15 +74,6 @@ mousetrack(int b, int x, int y, int isdelta)
y += mouse.v.y;
}
msec = osmillisec();
- if(0 && b && (mouse.v.b ^ b)&0x1f){
- if(msec - mouse.v.msec < 300 && mouse.lastb == b
- && abs(mouse.v.x - x) < 12 && abs(mouse.v.y - y) < 12)
- b |= 1<<8;
- mouse.lastb = b & 0x1f;
- mouse.v.msec = msec;
- }
- if((b&(1<<8))==0 && x == mouse.v.x && y == mouse.v.y && mouse.v.b == b)
- return;
lastb = mouse.v.b;
mouse.v.x = x;
mouse.v.y = y;