diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-09-14 15:38:49 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-09-14 17:55:41 +0200 |
commit | 0bfb13655c02c75b0e1cc864a81996e58cd5c7b4 (patch) | |
tree | bce0c60337beda47d632511f0f4e0afd9bb7eb17 /termo.h | |
parent | 78c0cd443d7e302fac6448db9d776c02a185d084 (diff) | |
download | termo-0bfb13655c02c75b0e1cc864a81996e58cd5c7b4.tar.gz termo-0bfb13655c02c75b0e1cc864a81996e58cd5c7b4.tar.xz termo-0bfb13655c02c75b0e1cc864a81996e58cd5c7b4.zip |
Implement de/focus event parsing
So far there is no way to set it up, I'm not sure how to go about it.
Diffstat (limited to 'termo.h')
-rw-r--r-- | termo.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,6 +97,7 @@ enum termo_type TERMO_TYPE_MOUSE, TERMO_TYPE_POSITION, TERMO_TYPE_MODEREPORT, + TERMO_TYPE_FOCUS, // add other recognised types here TERMO_TYPE_UNKNOWN_CSI = -1 @@ -159,6 +160,7 @@ struct termo_key uint32_t codepoint; // TERMO_TYPE_KEY int number; // TERMO_TYPE_FUNCTION termo_sym_t sym; // TERMO_TYPE_KEYSYM + int focused; // TERMO_TYPE_FOCUS // TERMO_TYPE_MODEREPORT // opaque, see termo_interpret_modereport() |