This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't paste text or type blind keys when mouse is out of the window


On 07/08/2011 10:05, Paul Maier wrote:
when xterm has keyboard focus, but mouse pointer is outside of the window (or
even on Window's blue title bar):


- all blind keys are ignored:


o instead of 'à' (key '`' then 'a') you get just a normal 'a'

   o  can't type '^' character (on a German keyboard done with blind '^' key then space)
      ->  you will just get the space instead

o same with '`' or '´': all blind keys are affected

- can't paste text with the mouse

- all other keys work as expected

Thanks for reporting this issue and the clear reproduction step.


I can reproduce this problem. I can also reproduce it under XWin in windowed mode with twm, but not on Xorg on Linux, so this seems to be XWin specific, but not related to multiwindow mode WM, which is a real puzzler.

I assume that you see the same behavior with other X applications, i.e. it's not xterm-specific?

The XWin.logs are the same regardless if mouse is inside or outside,
but I notice a small difference in xev's output.

Yes, it looks like the events are delivered to the top window of xterm's hierarchy when the mouse is on the non-client area of the window or the desktop, but to the bottom window of the xterm hierarchy when the mouse is over the xterm window.


I also note that if you type a deadkey with the mouse in the client area, then move the mouse over the frame, type a key, it is passed straight though, then move the mouse back over the client area, and type a key, it is modified by the previous deadkey.

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]