• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
spaces in Xnest again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spaces in Xnest again


  • Subject: spaces in Xnest again
  • From: jernigan <email@hidden>
  • Date: Mon, 8 Sep 2008 15:32:30 -0700

Sorry to keep beating a dead horse, but it really would be nice to get Xnest fixed. Xephyr works mostly, but on a dual monitor system the - screen option is a poor substitute for the -geometry option in Xnest and most other X programs. With -screen you can't set an offset, only the size. It also seems to have have a non-standard default for the window location (not the upper, left most corner of the screen) and no man page.

Anyway, I used xev on a RedHat box I accessed through Xnest from X11-2.3.1_rc6. When you type a space, the first time you get only a KeyPress event. The 2nd time you press space (even if it is separated by other typed characters, you get a KeyRelease event. Other keys, such as "q", give both KeyPress and KeyRelease events when you press and release the key.

Below is some xev output. The output for 'q" had 2 keystrokes, the output for "space" had 4 keystrokes:

KeyPress event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140205341, (259,176), root:(314,681),
    state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140210389, (259,176), root:(314,681),
    state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "

KeyPress event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140231768, (259,176), root:(314,681),
    state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140243374, (259,176), root:(314,681),
    state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "

. . .

KeyPress event, serial 24, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140600016, (85,114), root:(247,616),
    state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"
    XmbLookupString gives 1 bytes: (71) "q"
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140600085, (85,114), root:(247,616),
    state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"

KeyPress event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140605793, (85,114), root:(247,616),
    state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"
    XmbLookupString gives 1 bytes: (71) "q"
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
    root 0x29, subw 0x0, time 1140605892, (85,114), root:(247,616),
    state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"

Tom

Tom Jernigan, Oak Ridge National Lab, email@hidden
Presently at General Atomics, San Diego, (858) 455-4122



_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


  • Follow-Ups:
    • Re: spaces in Xnest again
      • From: Jeremy Huddleston <email@hidden>
    • Re: spaces in Xnest again
      • From: "Jordan K. Hubbard" <email@hidden>
  • Prev by Date: Re: 2.3.1_rc5 keeps losing focus?
  • Next by Date: Re: spaces in Xnest again
  • Previous by thread: 2.3.1_rc6
  • Next by thread: Re: spaces in Xnest again
  • Index(es):
    • Date
    • Thread