minor. comment.

This commit is contained in:
Christopher Jeffrey 2015-02-07 16:04:14 -08:00
parent e8fe076681
commit 1cf69f74d9
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}