diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-10-23 16:07:54 +0200 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-10-23 16:07:54 +0200 |
commit | 970f3e9ed7debf60b290c22e73ed167232129a36 (patch) | |
tree | 4f4f9a3554b64eada1b016ab78da16872a8805ac /src/cmd/samterm | |
parent | ed9a25d9020b6b46f235760956f98bc37abb26d1 (diff) | |
download | plan9port-970f3e9ed7debf60b290c22e73ed167232129a36.tar.gz plan9port-970f3e9ed7debf60b290c22e73ed167232129a36.tar.bz2 plan9port-970f3e9ed7debf60b290c22e73ed167232129a36.zip |
samterm: change focus on mouseover
Diffstat (limited to 'src/cmd/samterm')
-rw-r--r-- | src/cmd/samterm/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/samterm/main.c b/src/cmd/samterm/main.c index adeffeed..c37fa08b 100644 --- a/src/cmd/samterm/main.c +++ b/src/cmd/samterm/main.c @@ -108,6 +108,8 @@ threadmain(int argc, char *argv[]) continue; } nwhich = flwhich(mousep->xy); + if(nwhich && nwhich!=which) + current(nwhich); scr = which && ptinrect(mousep->xy, which->scroll); if(mousep->buttons) flushtyping(1); |