]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-socket.scm
Change Info docs setup and clean up Documentation/user/GNUmakefile
[lilypond.git] / scm / output-socket.scm
index c8a0fac3c7e872f5c7359951a33ac681956c11be..083d5a081be223493612e8be276aa4f366de2664 100644 (file)
          breapth width depth height blot-diameter
          ))
 
-(define (music-cause grob)
+(define (event-cause grob)
   (let*
       ((cause (ly:grob-property  grob 'cause)))
 
     (cond
-     ((ly:music? cause) cause)
-;     ((ly:grob? cause) (music-cause cause))
+     ((ly:stream-event? cause) cause)
      (else
       #f))))
 
@@ -83,9 +82,9 @@
 
 (define-public (grob-cause offset grob)
   (let*
-      ((cause (music-cause grob))
-       (tag (if (and cause (integer? (ly:music-property cause 'input-tag)))
-               (ly:music-property cause 'input-tag)
+      ((cause (event-cause grob))
+       (tag (if (and cause (integer? (ly:event-property cause 'input-tag)))
+               (ly:event-property cause 'input-tag)
                -1))
        (name (cdr (assoc 'name (ly:grob-property grob 'meta))))
        )