[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778444: unblock: brltty/5.2~20141018-4



I forgot to attach the patch, here it is.

Samuel
diff -Nru brltty-5.2~20141018/debian/changelog brltty-5.2~20141018/debian/changelog
--- brltty-5.2~20141018/debian/changelog	2015-02-08 22:58:15.000000000 +0100
+++ brltty-5.2~20141018/debian/changelog	2015-02-15 02:25:15.000000000 +0100
@@ -1,3 +1,10 @@
+brltty (5.2~20141018-4) unstable; urgency=medium
+
+  * patches/git-9337089: Fix xbrlapi into really not writing anything when
+    passed option -q (closes: #777574).
+
+ -- Samuel Thibault <sthibault@debian.org>  Sun, 15 Feb 2015 02:25:14 +0100
+
 brltty (5.2~20141018-3) unstable; urgency=medium
 
   * brltty-udeb.prebaseconfig: Make grub beep at boot when brltty was used
diff -Nru brltty-5.2~20141018/debian/patches/git-9337089 brltty-5.2~20141018/debian/patches/git-9337089
--- brltty-5.2~20141018/debian/patches/git-9337089	1970-01-01 01:00:00.000000000 +0100
+++ brltty-5.2~20141018/debian/patches/git-9337089	2015-02-11 19:59:11.000000000 +0100
@@ -0,0 +1,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);
+ 	  }
diff -Nru brltty-5.2~20141018/debian/patches/series brltty-5.2~20141018/debian/patches/series
--- brltty-5.2~20141018/debian/patches/series	2015-02-07 21:40:07.000000000 +0100
+++ brltty-5.2~20141018/debian/patches/series	2015-02-11 19:59:38.000000000 +0100
@@ -5,3 +5,4 @@
 50-constants.patch
 git-a7123d7
 git-2421eda
+git-9337089

Reply to: