Your message dated Tue, 08 Mar 2005 04:33:56 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297229: fixed in xwrits 2.21-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Feb 2005 01:35:53 +0000
>From [EMAIL PROTECTED] Sun Feb 27 17:35:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 12-221-103-52.client.insightbb.com (black-magic) [12.221.103.52] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D5ZpA-0005AH-00; Sun, 27 Feb 2005 17:35:52 -0800
Received: from danmanj by black-magic with local (Exim 3.36 #1 (Debian))
        id 1D5Zof-0002xV-00
        for <[EMAIL PROTECTED]>; Sun, 27 Feb 2005 19:35:21 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: James T Kirk <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: xwrits: Treats synthetic X send_events as actual typing activity
X-Mailer: reportbug 3.8
Date: Sun, 27 Feb 2005 19:35:21 -0600
Message-Id: <[EMAIL PROTECTED]>
Sender: <[EMAIL PROTECTED]>
X-BadReturnPath: [EMAIL PROTECTED] rewritten as [EMAIL PROTECTED]
  using "From" header
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: xwrits
Version: 2.21-3
Severity: normal
Tags: patch


I use LIRC to control Mythtv via the irxevent program, which sends
synthetic xevents to x clients. Xwrits treats these as actually typing
activity, and pops up the annoybox window when I am using my remote
to watch TV.

The attached patch fixes xwrits to ignore all synthetic events.



--- xwrits.orig/rest.c  2002-05-06 19:31:11.000000000 -0500
+++ xwrits-2.21/rest.c  2005-02-27 19:33:01.000000000 -0600
@@ -15,6 +15,10 @@
   
   if (e->type == KeyPress || e->type == MotionNotify
       || e->type == ButtonPress) {
+
+    if(e->xany.send_event) // this is a syntheitc send_event
+      return(TRAN_REST); //whatever tran_rest means it ignores the event
+
     xwSUBTIME(diff, *now, last_key_time);
     last_key_time = *now;
     


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ck5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xwrits depends on:
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information

---------------------------------------
Received: (at 297229-close) by bugs.debian.org; 8 Mar 2005 09:38:38 +0000
>From [EMAIL PROTECTED] Tue Mar 08 01:38:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D8bAj-00005p-00; Tue, 08 Mar 2005 01:38:37 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D8b6C-0001mF-00; Tue, 08 Mar 2005 04:33:56 -0500
From: Helen Faulkner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297229: fixed in xwrits 2.21-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 08 Mar 2005 04:33:56 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: xwrits
Source-Version: 2.21-5

We believe that the bug you reported is fixed in the latest version of
xwrits, which is due to be installed in the Debian FTP archive:

xwrits_2.21-5.diff.gz
  to pool/main/x/xwrits/xwrits_2.21-5.diff.gz
xwrits_2.21-5.dsc
  to pool/main/x/xwrits/xwrits_2.21-5.dsc
xwrits_2.21-5_i386.deb
  to pool/main/x/xwrits/xwrits_2.21-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helen Faulkner <[EMAIL PROTECTED]> (supplier of updated xwrits package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 07 Mar 2005 17:03:01 +0000
Source: xwrits
Binary: xwrits
Architecture: source i386
Version: 2.21-5
Distribution: unstable
Urgency: low
Maintainer: Helen Faulkner <[EMAIL PROTECTED]>
Changed-By: Helen Faulkner <[EMAIL PROTECTED]>
Description: 
 xwrits     - reminds you to take a break from typing
Closes: 297229
Changes: 
 xwrits (2.21-5) unstable; urgency=low
 .
   *  Changed rest.c to make xwrits ignore all synthetic events.  Patch provided
      by James Kirk (closes: #297229).
   *  New maintainer email address (same maintainer).
Files: 
 7ddef81439f734feed88cd6d9fe4eed4 665 x11 optional xwrits_2.21-5.dsc
 a2a392b3998b45840978f643fbd3be11 3249 x11 optional xwrits_2.21-5.diff.gz
 2b5325eb93c6193bab599c1d88bd4570 92916 x11 optional xwrits_2.21-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCLW1kMQNuxza4YcERAkNBAJ9sWDyR825w0rVdImWs/hpokfVyJACfVDhj
sVtwq87rpWoO3zNwJlB/6SM=
=9pvi
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to