Re: How to get the topmost window through xlib programming
Tim Roberts <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
Karthik Ramamoorthy wrote: > > Is there any option to get the topmost window or currently > active window through anu xlib API . Because i think, through > XQueryTree we can get all the Alive windows(windows that are not > closed) only. So is there any means to get the topmost window, also is > it possible to check whether the windowID that i am having is top most > window or not? XGetInputFocus will tell you the window that currently holds the keyboard focus. That is usually what you what when you ask for the "topmost window". -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc.