diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-05 21:55:45 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-05 21:55:45 +0200 |
commit | 62c5abf2a72e6e4f15031ad5b4e8738a6f866ea9 (patch) | |
tree | 742598f95bb0b91dce764247ee823b4bbfa32348 /README | |
parent | a683de536474e0870d663af7122ccad3d863379d (diff) | |
download | st-62c5abf2a72e6e4f15031ad5b4e8738a6f866ea9.tar.gz st-62c5abf2a72e6e4f15031ad5b4e8738a6f866ea9.tar.bz2 |
Unhighlight selection when selection is owner by other window
st marks the active selection using reverse colors in the box selection, but
once that another window becomes owner of the selection, it is very
confusing that st keeps highlight the old selection. Usually terminal
emulators remove the highlight when it is not valid anymore.
X sends a SelectionClear event in this situation, so we only have to add a
callback which unhighlight the selectin box.
---
st.c | 9 +++++++++
1 file changed, 9 insertions(+)
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions