mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 20:20:45 +00:00
Allow applications to notify the terminal they use mouse.
This commit is contained in:
parent
a0bfe0f77f
commit
3eb836fd81
@ -200,14 +200,9 @@ void Session::addView(KTerminalDisplay * widget)
|
|||||||
|
|
||||||
// allow emulation to notify view when the foreground process
|
// allow emulation to notify view when the foreground process
|
||||||
// indicates whether or not it is interested in mouse signals
|
// indicates whether or not it is interested in mouse signals
|
||||||
|
connect( _emulation , SIGNAL(programUsesMouseChanged(bool)) , widget ,
|
||||||
// TODO Disabled since at the moment it is not working properly.
|
SLOT(setUsesMouse(bool)) );
|
||||||
// Remember to reenable that once it' is's working.
|
widget->setUsesMouse( _emulation->programUsesMouse() );
|
||||||
|
|
||||||
//connect( _emulation , SIGNAL(programUsesMouseChanged(bool)) , widget ,
|
|
||||||
// SLOT(setUsesMouse(bool)) );
|
|
||||||
|
|
||||||
//widget->setUsesMouse( _emulation->programUsesMouse() );
|
|
||||||
|
|
||||||
widget->setScreenWindow(_emulation->createWindow());
|
widget->setScreenWindow(_emulation->createWindow());
|
||||||
}
|
}
|
||||||
|
@ -992,7 +992,7 @@ void KTerminalDisplay::scrollScreenWindow(enum ScreenWindow::RelativeScrollMode
|
|||||||
|
|
||||||
|
|
||||||
void KTerminalDisplay::setUsesMouse(bool usesMouse){
|
void KTerminalDisplay::setUsesMouse(bool usesMouse){
|
||||||
_mouseMarks = !usesMouse;
|
_mouseMarks = usesMouse;
|
||||||
}
|
}
|
||||||
|
|
||||||
void KTerminalDisplay::setAutoFocus(bool au)
|
void KTerminalDisplay::setAutoFocus(bool au)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user