]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-socket.scm
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / scm / output-socket.scm
index e992e7c74b095605c4729338a10bdc3bb59f42cb..c8a0fac3c7e872f5c7359951a33ac681956c11be 100644 (file)
          breapth width depth height blot-diameter
          ))
 
-(define (event-cause grob)
+(define (music-cause grob)
   (let*
       ((cause (ly:grob-property  grob 'cause)))
 
     (cond
-     ((ly:stream-event? cause) cause)
+     ((ly:music? cause) cause)
 ;     ((ly:grob? cause) (music-cause cause))
      (else
       #f))))
@@ -83,9 +83,9 @@
 
 (define-public (grob-cause offset grob)
   (let*
-      ((cause (event-cause grob))
-       (tag (if (and cause (integer? (ly:event-property cause 'input-tag)))
-               (ly:event-property cause 'input-tag)
+      ((cause (music-cause grob))
+       (tag (if (and cause (integer? (ly:music-property cause 'input-tag)))
+               (ly:music-property cause 'input-tag)
                -1))
        (name (cdr (assoc 'name (ly:grob-property grob 'meta))))
        )