mirror of
https://github.com/KDE/konsole.git
synced 2026-05-18 19:47:16 -04:00
use the new AA_MacDontSwapCtrlAndMeta application attribute on MAC OS X to
ensure that Konsole gets the raw and unswapped meta keys. This enables us to use CTRL-C in konsole on the mac again :) svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1029769
This commit is contained in:
@@ -68,6 +68,11 @@ void Application::init()
|
||||
|
||||
// check for compositing functionality
|
||||
TerminalDisplay::setTransparencyEnabled( KWindowSystem::compositingActive() );
|
||||
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040600
|
||||
// this ensures that Ctrl and Meta are not swapped, so CTRL-C and friends
|
||||
// will work correctly in the terminal
|
||||
setAttribute(Qt::AA_MacDontSwapCtrlAndMeta);
|
||||
#endif
|
||||
}
|
||||
|
||||
Application* Application::self()
|
||||
|
||||
Reference in New Issue
Block a user