summaryrefslogtreecommitdiffstats
path: root/kwin
diff options
context:
space:
mode:
Diffstat (limited to 'kwin')
-rw-r--r--kwin/workspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp
index 7cb63acd2..ac4fcdc3f 100644
--- a/kwin/workspace.cpp
+++ b/kwin/workspace.cpp
@@ -1907,7 +1907,7 @@ unsigned int Workspace::sendFakedMouseEvent( TQPoint pos, WId w, MouseEmulation
if ( !w )
return state;
TQWidget* widget = TQWidget::tqfind( w );
- if ( (!widget || widget->inherits("QToolButton") ) && !findClient( WindowMatchPredicate( w )) )
+ if ( (!widget || widget->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) ) && !findClient( WindowMatchPredicate( w )) )
{
int x, y;
Window xw;