summaryrefslogtreecommitdiffstats
path: root/src/SinkWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SinkWindow.cc')
-rw-r--r--src/SinkWindow.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SinkWindow.cc b/src/SinkWindow.cc
index 37a84b4..4a205d1 100644
--- a/src/SinkWindow.cc
+++ b/src/SinkWindow.cc
@@ -114,4 +114,7 @@ void SinkWindow::onVolumeMuteButton() {
serverInfoManager->setSinkVolume(index, PA_VOLUME_MUTED);
}
-
+bool SinkWindow::on_delete_event(GdkEventAny* e) {
+ hide();
+ return false;
+}