aboutsummaryrefslogtreecommitdiff
path: root/guile/starlet/open-sound-control/utils.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guile/starlet/open-sound-control/utils.scm')
-rw-r--r--guile/starlet/open-sound-control/utils.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/guile/starlet/open-sound-control/utils.scm b/guile/starlet/open-sound-control/utils.scm
index 160d9bc..16ccbaf 100644
--- a/guile/starlet/open-sound-control/utils.scm
+++ b/guile/starlet/open-sound-control/utils.scm
@@ -73,10 +73,7 @@
(define (osc-select-button server button-method addr led fix)
(add-osc-method server button-method ""
- (lambda ()
- (if (selected? fix)
- (desel fix)
- (sel fix))))
+ (lambda () (toggle-sel fix)))
(add-and-run-hook!
selection-hook