fvwm95 and modal application

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
fvwm95 and modal application

Submitted by machnone on Thu, 03/01/2001 - 19:25. Developers
I am creating a modal application for a system running fvwm95. This application is designed to lock out the system and force the user to tend to it before anything else can be done.
I know most look down on this, but this is required for the system I am working on. I know that no other apps will be trying this. I set the mwmInputMode resource to be SYSTEM_MODAL, but fvwm95 does not seem to adhere to this MWM hint.
Is there any way around this?

ICS_support

This level of modality requires the window manager to cooperate.

It`s a rare application that needs this level of modality. But if you do, the way to do it that will work with all window managers is to grab the server yourself (using Xlib calls), raise your window, and wait on a response.

machnone

I tried using XtGrabPointer and XtGrabKeyboard, and these work great until a sub-window in my app pops up. For example, if a field is not filled out, and message box pops up, when this happens, the pointer and keyboard are no longer grabbed.
Is there any way I could fix this?