RE: [Thinstation-developer] patch for xwChoice-1.03 (messagebox E nter handling problem)
Brought to you by:
doncuppjr
From: Miles R. <mr...@we...> - 2005-06-22 05:14:51
|
will hopefully have 2.2 uploaded on the weekend :o) -----Original Message----- From: Thomas Gerbeth [mailto:sub...@rf...] Sent: Monday, 20 June 2005 07:20 p.m. To: Miles Roper; thi...@li... Subject: Re: [Thinstation-developer] patch for xwChoice-1.03 (messagebox E nter handling problem) yes, of course. Sorry Miles! Here it is. You might have to adjust the Makefile of xwChoice, mine didn't find the X headers and libraries at all. For that case, I have included the patch for the Makefile, too. I'll see if I can cope with some of the other issues, but at the moment I'm more interested in integrating "xvkbd", a software-only onscreen keyboard, so it gets possible to use thinstation on pc's equipped only with a touchscreen and no hardware keyboard at all. I'll keep you informed on the progress. By the way: on the sourceforge download page, I found the source for Thinstation 2.1, but not for 2.2. Is there some cvs or how can I get them? Thomas Miles Roper schrieb: >could you please resend this as a > >diff -u > >thanks :o) > >-----Original Message----- >From: Thomas Gerbeth [mailto:sub...@rf...] >Sent: Sunday, 19 June 2005 03:39 a.m. >To: thi...@li... >Subject: [Thinstation-developer] patch for xwChoice-1.03 (messagebox >Enter handling problem) > >Hello all, > >in the file "HELP-NEEDED" I found the section Minor Work: >Fix to Message Box so Enter works, rather than having to press Ok. ... > > >I soon realized why this should be fixed, so I made an attempt to do so. > >This patch enables the Return and Escape Keys on xwChoice Windows. >It is not very much tested but works with -choice, -input and -ok in >blackbox. >Use with caution! > >The file I patched is >thinstation_src-2.1/source/xwChoice-1.03/xwChoice.c > >142a143,144 > > >>void okCB(Widget widget, XtPointer clientData, XtPointer callData); >> >> >> >797a800,805 > > >> if ( (event->xkey.type == KeyRelease ) && ( key == XK_Return ) ) >> okCB(w, closure, NULL); >> else if ( (event->xkey.type == KeyRelease ) && ( key == >> >> >XK_Escape ) ) > > >> cancelCB(w, closure, NULL); >> >> >> >> > >Maybe somebody could test this? Is it really that easy? > > >Best regards, >Thomas Gerbeth > >P.S. thinstation rocks! > > > >================================================== >Attention: >The information contained in this message and/or attachments is >intended only for the person or entity to which it is addressed and may >contain confidential and/or privileged material. Any review, >retransmission, dissemination or other use of, or taking of any action >in reliance upon, this information by person or entities other than the >intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your system and destroy any copies. >=================================================== > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Thinstation-developer mailing list >Thi...@li... >https://lists.sourceforge.net/lists/listinfo/thinstation-developer > > > > ================================================== Attention: The information contained in this message and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by person or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your system and destroy any copies. =================================================== |