Top Document: comp.windows.x Frequently Asked Questions (FAQ) 6/7 Previous Document: 141) How do I deiconify a window? Next Document: 143) Is there a skeleton X program available? See reader questions & answers on this topic! - Help others by sharing your knowledge You can't reliably tell; whatever mechanism you could use could be spoofed in any case. For most cases, you shouldn't care which window manager is running, so long as you do things in an ICCCM-conformant manner. There are some cases in which particular window managers are known to do things wrong; checking for particular hints placed on the window by the window manager so that you can sidestep the problem may be appropriate in these cases. Alternatively, it may be appropriate to determine which window manager is running in order to take advantage of specific *added* features (such as olwm's push-pin menus) in order to give your program *added* functionality. Beware of usurping the window manager's functions by providing that functionality even when it is missing; this surely leads to future compatibility problems. User Contributions:Top Document: comp.windows.x Frequently Asked Questions (FAQ) 6/7 Previous Document: 141) How do I deiconify a window? Next Document: 143) Is there a skeleton X program available? Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: faq%craft@uunet.uu.net (X FAQ maintenance address)
Last Update March 27 2014 @ 02:12 PM
|
Comment about this article, ask questions, or add new information about this topic: