1. X Window not accepting input or input focus
Platform: Redhat 5.1, XFree86, C Program, Athena Widgets
When I run the attached program, I am unable to give the X window focus
(title bar remains gray instead of blue). This presents a problem when I
have asciitext widgets on screen. As I type, my keyboard response is sent
to the terminal from which I launched the application. Running xwininfo on
the window with the -all option tells me:
...
Window manager hints:
Client accepts input or input focus: no
...
I believe that this is my problem, but I do not know how I can change this
(newbie). I can compile sources for X apps provided with the Redhat
distribution and they run normally.
Thanks in advance for any assistance.
-DDA
//Very Simple Program demonstrating sequence of calls
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Box.h>
#include <X11/Xaw/Command.h>
XtAppContext context;
Widget toplevel, manager, exit_button;
void ExitCallback(Widget w, XtPointer client_data, XtPointer call_data){
exit();
int main(int argc, char **argv){
toplevel = XtAppInitialize( &context, "Hello",
NULL, 0, &argc, argv, NULL, NULL, 0);
manager = XtCreateManagedWidget("manager", boxWidgetClass,
toplevel, NULL, 0);
exit_button = XtCreateManagedWidget("exitButton", commandWidgetClass,
manager, NULL, 0);
XtAddCallback(exit_button, XtNcallback, ExitCallback, NULL);
XtRealizeWidget(toplevel);
XtAppMainLoop(context);
return 1;
2. Microsoft products are good, so why do all you anti-Microsoft , losers say they suck?
3. How to accept input from the keyboard in a shell script
4. support dvi (digital video interface) for flat panel?
5. Help: xdos 0.60.1 won't accept keyboard input !
6. Top 10 subjects comp.unix.admin
7. Trouble installing redhat 8.0 - installer won't accept keyboard input
8. Strange mailx problem
9. Keyboard mapping does not work under Linux PPC 2000
10. Console not accepting input..
11. Netscape textfields not accept input
12. Keyboard does not accept entries
13. Minicom will not accept keyboard commands