diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-11-19 00:45:35 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-11-19 00:45:35 +0100 |
commit | 5a80bceec9c3fcc304d8dde1c10f16a9adde8598 (patch) | |
tree | fbc6b8e7aecb75675b4af69f7cfa4691d055db16 | |
parent | b8337b5b189b34e5ad0570dc37942650ba53e94b (diff) | |
download | termo-5a80bceec9c3fcc304d8dde1c10f16a9adde8598.tar.gz termo-5a80bceec9c3fcc304d8dde1c10f16a9adde8598.tar.xz termo-5a80bceec9c3fcc304d8dde1c10f16a9adde8598.zip |
Make mouse data signed
Because urxvt can output zero coordinates, meaning -1.
-rw-r--r-- | termo.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ struct termo_key // TERMO_TYPE_MOUSE // opaque, see termo_interpret_mouse() - struct { uint16_t x, y, info; } mouse; + struct { int16_t x, y, info; } mouse; } code; int modifiers; |