Package: brltty / 5.2~20141018-5

git-9337089 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
commit 9337089a8281e6298fe90effc3d4ef1b647783e0
Author: Dave Mielke <dave@mielke.cc>
Date:   Mon Feb 9 21:39:44 2015 -0500

    xbrlapi's -q option should also apply to when the current window's title changes. (st)

diff --git a/Programs/xbrlapi.c b/Programs/xbrlapi.c
index 093f2c4..07d6ee0 100644
--- a/Programs/xbrlapi.c
+++ b/Programs/xbrlapi.c
@@ -643,7 +643,7 @@ static void toX_f(const char *display) {
 	    if (window->wm_name)
 	      if (!XFree(window->wm_name)) fatal(gettext("XFree(wm_name) for change"));
 	    if ((window->wm_name=getWindowTitle(win))) {
-	      if (win==curWindow)
+	      if (!quiet && win==curWindow)
 		api_setName(window->wm_name);
 	    } else fprintf(stderr,gettext("window %#010lx changed to NULL name\n"),win);
 	  }