summaryrefslogtreecommitdiffstats
path: root/src/knemod/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knemod/interface.cpp')
-rw-r--r--src/knemod/interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knemod/interface.cpp b/src/knemod/interface.cpp
index 8e97ef1..905702a 100644
--- a/src/knemod/interface.cpp
+++ b/src/knemod/interface.cpp
@@ -398,7 +398,7 @@ void Interface::configurePlotter()
break;
}
mVisibleBeams = nextVisibleBeams;
- mPlotter->tqrepaint();
+ mPlotter->repaint();
}
void Interface::startStatistics()
@@ -464,7 +464,7 @@ void Interface::activateOrHide( TQWidget* widget, bool onlyActivate )
NET::WMGeometry | NET::XAWMState | NET::WMState | NET::WMWindowType );
if( info2.mappingState() != NET::Visible )
continue; // not visible on current desktop -> ignore
- if( !info2.geometry().intersects( widget->tqgeometry()))
+ if( !info2.geometry().intersects( widget->geometry()))
continue; // not obscuring the window -> ignore
if( !info1.hasState( NET::KeepAbove ) && info2.hasState( NET::KeepAbove ))
continue; // obscured by window kept above -> ignore