[comp.windows.x] Disabling Input

grunwald@foobar.colorado.edu (Dirk Grunwald) (12/19/89)

I pop up an overrideShellWidget with XtGrabExclusive to implement a
confirmation box. In the shell is a form. When I mouse in blank areas
of the form (i.e. not in a child widget), the mouse actions are caught
by the window manager (twm).

Is there a way to disable this & have the input be ignored?

swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/19/89)

    When I mouse in blank areas
    of the form (i.e. not in a child widget), the mouse actions are caught
    by the window manager (twm).

I'm not sure I completely understand what the problem is
(i.e. what do you have in your .twmrc?), but you could try
setting the do_not_propagate window attribute on the shell's
window.  Probably best to train the wm to be smarter though,
rather than making the application work harder.  More info
would help...