[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/konsole/src
From:       Harald Fernengel <harry () kdevelop ! org>
Date:       2009-09-30 17:38:14
Message-ID: 1254332294.747461.29442.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029769 by harald:

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 :)


 M  +5 -0      Application.cpp  


--- trunk/KDE/kdebase/apps/konsole/src/Application.cpp #1029768:1029769
@@ -68,6 +68,11 @@
 
     // 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()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic