summaryrefslogtreecommitdiffstats
path: root/src/handle_event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_event.cpp')
-rw-r--r--src/handle_event.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handle_event.cpp b/src/handle_event.cpp
index fa11ec3..65f4705 100644
--- a/src/handle_event.cpp
+++ b/src/handle_event.cpp
@@ -48,6 +48,8 @@ public:
: _patchage{patchage}
{}
+ void operator()(const event::Cleared&) { _patchage.canvas()->clear(); }
+
void operator()(const event::DriverAttached& event)
{
_patchage.driver_attached(event.type);