Article View: comp.windows.x
Article #36829Re: ICCCM and colormaps---simple question
From: Tom LaStrange
Date: Wed, 14 Feb 1990 14:41
Date: Wed, 14 Feb 1990 14:41
22 lines
1300 bytes
1300 bytes
>> ... I was also wondering; instead of having
>> the user specify that no window manager is running, is there a
>> way for the application to automatically detect that? For example,
>> twm seems to be able to detect that another window manager is
>> already running;
>
>Twm detects another window manager when calling XSelectInput on the root
>window. If this call fails, it assumes that another wm is there. (Only
>one client is allowed to select button press events on a window).
Almost. It's actually the SubstructureRedirectMask that only one client
is allowed to do. While this will work most of the time to determine
if a window manager is running, I don't think there's anyway to determine
if the window manager goes away later.
--
Tom LaStrange
Solbourne Computer Inc. ARPA: toml@Solbourne.COM
1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml
Longmont, CO 80501
Technical Details
Message-ID:
<1990Feb14.144147.22813@Solbourne.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!cs.utexas.edu!asuvax!ncar!boulder!stan!ninja!tomlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!cs.utexas.edu!asuvax!ncar!boulder!stan!ninja!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: ICCCM and colormaps---simple question Message-ID: <1990Feb14.144147.22813@Solbourne.COM> Date: 14 Feb 90 14:41:47 GMT Sender: news@Solbourne.COM Organization: Solbourne Computer, Inc. Lines: 22