summaryrefslogtreecommitdiffstats
path: root/kkbswitch/windowclasswatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kkbswitch/windowclasswatcher.cpp')
-rw-r--r--kkbswitch/windowclasswatcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kkbswitch/windowclasswatcher.cpp b/kkbswitch/windowclasswatcher.cpp
index d345a54..74e82ef 100644
--- a/kkbswitch/windowclasswatcher.cpp
+++ b/kkbswitch/windowclasswatcher.cpp
@@ -20,7 +20,7 @@
#include "windowclasswatcher.h"
#include "kbconfig.h"
-#include <kwinmodule.h>
+#include <twinmodule.h>
#include <kdebug.h>
#include <X11/Xutil.h>
@@ -93,12 +93,12 @@ void WindowClassWatcher::reset()
m_class_group_map.clear();
// fill the map with existing windows
- const TQValueList<WId> windows = m_kwin_module->windows();
+ const TQValueList<WId> windows = m_twin_module->windows();
const TQValueList<WId>::ConstIterator end = windows.end();
for (TQValueList<WId>::ConstIterator it = windows.begin(); it != end; ++it)
windowAdded(*it);
- WId active_window = m_kwin_module->activeWindow();
+ WId active_window = m_twin_module->activeWindow();
if (active_window)
m_active_class = m_class_group_map.find(m_win_class_map[active_window]);
else m_active_class = m_class_group_map.end();