patch-plugins_notify_notify_c 704 B

12345678910111213141516171819
  1. $OpenBSD: patch-plugins_notify_notify_c,v 1.1 2016/09/13 08:48:12 dcoppa Exp $
  2. commit ca7e395956ebc921aba6700dc2eac9e114f5fefa
  3. Author: Alexey Yakovenko <wakeroid@gmail.com>
  4. Date: Sat Jul 30 14:41:10 2016 +0200
  5. notify: corrected tf flags for multiline non-dynamic output
  6. --- plugins/notify/notify.c.orig Sun Jun 19 13:26:18 2016
  7. +++ plugins/notify/notify.c Tue Sep 13 10:33:38 2016
  8. @@ -178,6 +178,7 @@ static void show_notification (DB_playItem_t *track) {
  9. ddb_tf_context_t ctx = {
  10. ._size = sizeof (ddb_tf_context_t),
  11. .it = track,
  12. + .flags = DDB_TF_CONTEXT_MULTILINE | DDB_TF_CONTEXT_NO_DYNAMIC,
  13. };
  14. deadbeef->tf_eval (&ctx, tf_title, title, sizeof (title));