How can I create a modal dialog in X11 using Xlib?
A modal dialog is a a window that stays on top of other windows of the app (like transient windows do) and also refuses to give focus to other windows of the app.
In Windows, modality is also signaled by flashing the titlebar of the modal window when trying to steal the focus from it.
Thanks.