Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Hellow, A customer asks me 2 X-11-programming questions (he just uses X11-MIT-Bdg. , no Toolkit/UIL etc.): 1) Event Handling: X11-events deal with mouse, keyboard, server-status, window-obscuring etc. He wants to access a digitizer from a asynch. port on his mach. When he is in the event-loop he is not sensitive for this asnch- Digitizer Input. Rsp. when he is waiting for asynch. Input he is not in the X11-event-loop... How to solve in a clever way...? I spoke with him about writing a second client who controlls the asynch-port, and then sends a event in the main-clients queue. Is this something...? 2) When he does a XLowerWindow, his window disappears, when he does a raise it appears again. Why does the lower make disappear the window (because it is a single window on the root?). How to change? Regards Peter Trachsel DEC Bern
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1301.1 | Getting caught by the pseudo-root | LBDUCK::SCHOELLER | Who's on first? | Fri Aug 18 1989 13:08 | 19 |
Peter, 1) When you say digitizer, do you mean a tablet or a full table digitizer? If your customer wants to use a tablet, he can substitute one for the mouse. If it is a table digitizer then the approach you recommend would probably work. 2) It sounds like your customer made his window an override redirect child of the servers root window. If this is the case then the window is a sybling of the pseudo-root window (I think displayed by the session manager). When he does a lower, it goes behind the pseudo-root. Take a look at the code in Xfish for finding the visible root window (there has been some discussion of this code in ELKTRA::DW_EXAMPLES or HARBOR::DECWINDOWS_PROGRAMMING). The clients window should be made a child of the pseudo-root window. Viele Gr��e, Dick |