From 1cf69f74d920574ebca53018ddf8b026c819ed2d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 7 Feb 2015 16:04:14 -0800 Subject: [PATCH] minor. comment. --- lib/gpmclient.js | 1 - lib/program.js | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/gpmclient.js b/lib/gpmclient.js index 6683713..22802cb 100644 --- a/lib/gpmclient.js +++ b/lib/gpmclient.js @@ -25,7 +25,6 @@ var GPM_REQ_NOPASTE = 3 var GPM_MAGIC = 0x47706D4C; var GPM_SOCKET = '/dev/gpmctl'; - // typedef struct Gpm_Connect { // unsigned short eventMask, defaultMask; // unsigned short minMod, maxMod; diff --git a/lib/program.js b/lib/program.js index c9aa931..7c917b6 100644 --- a/lib/program.js +++ b/lib/program.js @@ -527,7 +527,9 @@ Program.prototype._bindMouse = function(s, buf) { key.meta = !!((mod >> 1) & 1); key.ctrl = !!((mod >> 2) & 1); - // XXX Bug in urxvt after wheelup/down + // XXX Bug in urxvt after wheelup/down on mousemove + // NOTE: This may be different than 128/129 depending + // on mod keys. if (b === 128 || b === 129) { b = 67; }