diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-03-14 17:47:44 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-03-14 17:47:44 +0100 |
commit | 1c64345fe4da851982f69ebf6e92bc88cebbad46 (patch) | |
tree | d46116eaa873e5eb06cf97f665973cca07ec6905 /konsole/konsole/TEmulation.cpp | |
parent | ab959b43ca0d41104fc828e0a0b57cc8a6c5108c (diff) | |
download | tdebase-1c64345fe4da851982f69ebf6e92bc88cebbad46.tar.gz tdebase-1c64345fe4da851982f69ebf6e92bc88cebbad46.zip |
Konsole : added support for mouse wheel events in the alternate screen. This allows scrolling within vim, less and similar applications.
This resolves bug 2597.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konsole/konsole/TEmulation.cpp')
-rw-r--r-- | konsole/konsole/TEmulation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/konsole/konsole/TEmulation.cpp b/konsole/konsole/TEmulation.cpp index 7576e9688..943d2f205 100644 --- a/konsole/konsole/TEmulation.cpp +++ b/konsole/konsole/TEmulation.cpp @@ -197,6 +197,7 @@ void TEmulation::setScreen(int n) { TEScreen *old = scr; scr = screen[n&1]; + gui->setScreen(n&1, scr); if (scr != old) old->setBusySelecting(false); } |