Finding modal dialogs

Suma Byrappa suma_byrappa at yahoo.co.in
Sat Oct 28 11:58:58 PDT 2006


BTW, the dialog window I've to check does not belong to my application. My software queries the window on the screen and have to find out if a window is disabled or not. One of the cases where a window can be disabled is when a modal dialog is open. I'm looking for any properties or conditions which differentiate the transient windows as modal or modeless.
   
  Thanks,
  Suma.

Suma Byrappa <suma_byrappa at yahoo.co.in> wrote:
    Hi All,
   
  I need to fnd out if a dialog (or window) is modal or modeless using Xlib APIs. What can I use to differentiate between modal and modeless? 
   
  I found few topics which mention about override_redirect and WM_TRANSIENT_FOR properties. But, when I read the properties of dialog windows, they don't match with the usage of override_redirect.
   
  Any help is greatly appreciated.
   
  Thanks,
  Suma.
   
    
---------------------------------
  Find out what India is talking about on - Yahoo! Answers India 
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061028/88cd7e3e/attachment.html>


More information about the xorg mailing list