minor. comment.
This commit is contained in:
parent
e8fe076681
commit
1cf69f74d9
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue