public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Takuma Murakami <murakami@ipl.t.u-tokyo.ac.jp>
To: cygwin-xfree@cygwin.com
Subject: Re: -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace)
Date: Thu, 18 Dec 2003 02:58:00 -0000	[thread overview]
Message-ID: <20031217155917.E8DC.MURAKAMI@ipl.t.u-tokyo.ac.jp> (raw)
In-Reply-To: <Pine.GSO.4.56.0312061324070.16580@slinky.cs.nyu.edu>

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Dear Igor and Alexander,

> >  xmodmap -e "keycode 22 = BackSpace"
> 
> This, however, not only didn't change anything (Ctrl-Alt-Backspace still
> exited X), but also crashed XWin.exe.  I doubt the stack dump is of any
> use with a non-debug version of XWin, but I can provide it if people
> request, as well as the corresponding XWin.log (which doesn't contain any
> details of the crash).  I believe I've also posted the details of my setup
> earlier in this thread.  To reproduce the problem, run

The attached patch can fix the problem.  This is against
xorg CVS tree on freedesktop.org.

Takuma Murakami (murakami@ipl.t.u-tokyo.ac.jp)

[-- Attachment #2: kbdcrash.patch --]
[-- Type: application/octet-stream, Size: 764 bytes --]

Index: winkeybd.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winkeybd.c,v
retrieving revision 1.1.4.1.2.2
diff -u -r1.1.4.1.2.2 winkeybd.c
--- winkeybd.c	15 Dec 2003 22:54:14 -0000	1.1.4.1.2.2
+++ winkeybd.c	17 Dec 2003 06:32:37 -0000
@@ -339,7 +339,7 @@
 void
 winKeybdCtrl (DeviceIntPtr pDevice, KeybdCtrl *pCtrl)
 {
-
+  g_winInternalModeKeyStatesPtr = &(pDevice->key->state);
 }
 
 
@@ -445,11 +445,13 @@
       
     case DEVICE_ON: 
       pDevice->on = TRUE;
+      g_winInternalModeKeyStatesPtr = &(pDeviceInt->key->state);
       break;
 
     case DEVICE_CLOSE:
     case DEVICE_OFF: 
       pDevice->on = FALSE;
+      g_winInternalModeKeyStatesPtr = NULL;
       break;
     }
 

  parent reply	other threads:[~2003-12-17 21:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05 23:17 Ctrl-Alt-Backspace Jack Tanner
2003-12-06  0:51 ` Ctrl-Alt-Backspace linda w
2003-12-06 13:12   ` Ctrl-Alt-Backspace Alexander Gottwald
2003-12-06  5:18 ` -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace) Igor Pechtchanski
2003-12-06 13:15   ` Alexander Gottwald
2003-12-06 18:35     ` Igor Pechtchanski
2003-12-08 11:18       ` Alexander Gottwald
2003-12-08 17:58         ` Requesting a debug XFree86 snapshot (Was Re: -nounixkill doesn't seem to work) Igor Pechtchanski
2003-12-08 19:08           ` Alexander Gottwald
2003-12-08 21:37             ` Igor Pechtchanski
2003-12-09  1:34               ` Alexander Gottwald
2003-12-18  2:58       ` Takuma Murakami [this message]
2003-12-18  3:02         ` -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace) Harold L Hunt II
2003-12-18 17:55         ` Harold L Hunt II
2003-12-18 19:10           ` Igor Pechtchanski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031217155917.E8DC.MURAKAMI@ipl.t.u-tokyo.ac.jp \
    --to=murakami@ipl.t.u-tokyo.ac.jp \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).