9138 |
xterm-mouse-mode. -stef |
xterm-mouse-mode. -stef |
9139 |
|
|
9140 |
Isn't this just the most wonderful code ever? */ |
Isn't this just the most wonderful code ever? */ |
9141 |
|
|
9142 |
|
/* If mock_input > t + 1, the above simplification |
9143 |
|
will actually end up dropping keys on the floor. |
9144 |
|
This is probably OK for now, but even |
9145 |
|
if mock_input <= t + 1, we need to adjust fkey |
9146 |
|
and keytran. |
9147 |
|
Typical case [header-line down-mouse-N]: |
9148 |
|
mock_input = 2, t = 1, fkey.end = 1, |
9149 |
|
last_real_key_start = 0. */ |
9150 |
|
if (fkey.end > last_real_key_start) |
9151 |
|
{ |
9152 |
|
fkey.end = fkey.start |
9153 |
|
= min (last_real_key_start, fkey.start); |
9154 |
|
fkey.map = fkey.parent; |
9155 |
|
if (keytran.end > last_real_key_start) |
9156 |
|
{ |
9157 |
|
keytran.end = keytran.start |
9158 |
|
= min (last_real_key_start, keytran.start); |
9159 |
|
keytran.map = keytran.parent; |
9160 |
|
} |
9161 |
|
} |
9162 |
if (t == last_real_key_start) |
if (t == last_real_key_start) |
9163 |
{ |
{ |
9164 |
mock_input = 0; |
mock_input = 0; |