summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blackbox.cc2
-rw-r--r--src/window.cc3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/blackbox.cc b/src/blackbox.cc
index 6d267b53..a6a0b9f8 100644
--- a/src/blackbox.cc
+++ b/src/blackbox.cc
@@ -1132,7 +1132,7 @@ void Blackbox::reconfigure(void) {
reconfigure_wait = True;
- if (! timer->isTiming()) timer->start();
+ if (! timer->timing()) timer->start();
}
diff --git a/src/window.cc b/src/window.cc
index 035d2469..17c53966 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -3828,8 +3828,7 @@ void BlackboxWindow::leaveNotifyEvent(const XCrossingEvent*) {
installColormap(False);
- if (timer->isTiming())
- timer->stop();
+ timer->stop();
}