summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TEmulation.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-03-14 17:47:44 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-03-14 17:47:44 +0100
commit1c64345fe4da851982f69ebf6e92bc88cebbad46 (patch)
treed46116eaa873e5eb06cf97f665973cca07ec6905 /konsole/konsole/TEmulation.cpp
parentab959b43ca0d41104fc828e0a0b57cc8a6c5108c (diff)
downloadtdebase-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.cpp1
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);
}