We use X11 servers on centos 7 and XFCE4.
The client sends Windows to this centos X11 server and we need to generate a modal Windows (ie Windows which is not able to go out with the mouse till you click close button)
To have a modal windows we have always used by the past the option MWM_INPUT_SYSTEM_MODAL for the parameter XmNmwmInputMode
Result of xprop | grep MOTIF this Windows is
MOTIF_WM_INTS(_MOTIF_WM_HINTS) = 0x7,0x3C,0xfffffff5, 0x2, 0x0
seems to be correct
Can not understand why centos 7 doesn't interpret the modal windows *
even with changing property of Windows using xprop I have not effect
it is always possible to click out of this window with the mouse
I have tried:
xprop -id windid -f _MOTIF_WM_HINTS 32a -set _MOTIF_WM_HINTS "0x7, 0x3c, 0xffffff5, 0x2 , 0x0" which is MWM_INPUT_SYSTEM_MODAL
xprop -id windid -f _MOTIF_WM_HINTS 32a -set _MOTIF_WM_HINTS "0x7, 0x3c, 0xffffff5, 0x3 , 0x0" which is MWM_INPUT_FULL_APPLICATION_MODAL
But no change in behaviour
MWM hints are mostly deprecated and partially supported in xfwm4.
Modality is probably not supported, and to be honest not something I'd want to support as this goes mostly against the user will.
When I open an XDMCP connection with correct authentification the Modal mode works correctly
If not Modal Mode doesn't work...
Probably an X11 authentication issues ... but where ???
Again, xfwm4 does not support MWM_INPUT_SYSTEM_MODAL nor MWM_INPUT_FULL_ APPLICATION_MODAL, those are old deprecated Motif hints that I'm not interested in supporting, because I reckon restricting user's interactions by forcing focus on a specific window is not suitable.
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/253.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev