Re: err:keyboard:X11DRV_ToUnicodeEx Please report:

2004-11-06 Thread Jon Griffiths
Hi Walt,

> Do you know what shift-tab does under such circumstances in
> Windows?  If
> it's the same as regular tab, you could just map ISO_Left_Tab onto
> tab, like below.

I'm not sure about native, but your patch fixes my app (i.e. makes
shift-tab move backward through the tabbing order). It also fixes
regedit (create a new string value and press shift-tab, its now
ignored as per native). So i guess its the right thing to do. 

Would you mind forwarding it to wine-patches?

Thanks,
Jon


=
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

[EMAIL PROTECTED]



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 




Re: err:keyboard:X11DRV_ToUnicodeEx Please report:

2004-11-05 Thread Walt Ogburn
Hi Jon,

It looks to me like shift-tab works fine when it's used to navigate around
dialogs.  It's only in things like text input that it tries to get
converted to Unicode and doesn't match anything.

Do you know what shift-tab does under such circumstances in Windows?  If
it's the same as regular tab, you could just map ISO_Left_Tab onto tab,
like below.

- Walter

diff -urN wine-cvs/dlls/x11drv/keyboard.c wine/dlls/x11drv/keyboard.c
--- wine-cvs/dlls/x11drv/keyboard.c 2004-10-27 20:11:23.0 -0700
+++ wine/dlls/x11drv/keyboard.c 2004-11-05 08:23:28.557190200 -0800
@@ -2143,6 +2143,12 @@
 ret = XLookupString(&e, lpChar, sizeof(lpChar), &keysym, NULL);
 wine_tsx11_unlock();

+if (keysym == XK_ISO_Left_Tab)
+{
+ret = 1;
+lpChar[0] = 0x09;
+}
+
 if (ret == 0)
 {
 BYTE dead_char;


On Fri, 5 Nov 2004, Jon Griffiths wrote:

> Hi,
>
> Duly reporting:
>
> err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym
> FE20 (ISO_Left_Tab) :
> err:keyboard:X11DRV_ToUnicodeEx
> (virtKey=9,scanCode=F,keycode=17,state=1)
>
> This happens when I shift-tab in any Wine app. System is mdk
> 10.0/wine cvs and this message has been there for several months at
> least (when I first noticed).
>
> I'm happy to provide more info on request if someone knows how to fix
> this.
>
> Cheers,
> Jon
>
>
> =
> "Don't wait for the seas to part, or messiahs to come;
>  Don't you sit around and waste this chance..." - Live
>
> [EMAIL PROTECTED]
>
>
>
> __
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>