aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2017-10-25 12:31:51 +0200
committerPetter Rodhelind <petter.rodhelind@gmail.com>2017-10-25 12:31:51 +0200
commit7d01a5019b1e8ad004f491c0644b6c97452f0bac (patch)
tree37b1731f356c622e7a2baef7a735044c5a4081ff /src/cmd/samterm
parent6db445613816bd773d34e16d0a23d8086fb09edb (diff)
downloadplan9port-7d01a5019b1e8ad004f491c0644b6c97452f0bac.tar.gz
plan9port-7d01a5019b1e8ad004f491c0644b6c97452f0bac.tar.bz2
plan9port-7d01a5019b1e8ad004f491c0644b6c97452f0bac.zip
samterm: Remove focus follows mouse.
Diffstat (limited to 'src/cmd/samterm')
-rw-r--r--src/cmd/samterm/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/samterm/main.c b/src/cmd/samterm/main.c
index a97516c4..e12eb860 100644
--- a/src/cmd/samterm/main.c
+++ b/src/cmd/samterm/main.c
@@ -108,8 +108,6 @@ threadmain(int argc, char *argv[])
continue;
}
nwhich = flwhich(mousep->xy);
- if(nwhich && nwhich!=which)
- current(nwhich);
//scr = which && ptinrect(mousep->xy, which->scroll);
scr = which && (ptinrect(mousep->xy, which->scroll) || mousep->buttons&(8|16));
if(mousep->buttons)