🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37428

xlock colormap problems

#37428
From: Andrew Wason
Date: Tue, 27 Feb 1990 16:13
28 lines
1549 bytes
I've been trying to fix xlock (xlock patchlevel 1.3; X11R4)
so that it can correctly install the colormap it builds so
that the qix mode etc. look right.

The way it is now, it trys to XInstallColormap() directly.
ICCCM compliant window managers (twm in my case) don't allow this.
I changed it to call XSetWindowColormap() on the big screen
sized window it creates. Now the window manager should
install the colormap for me. But since this window was
created with the override_redirect attribute set,
the window manager doesn't even know the window exists -
so it never installs my colormap.

The xlock window needs to be ignored by the window manager
because I don't want window manager decoration on it
(and I don't want the user to be able to resize or move it).
But I do want the window manager to install my colormap
for me (since it won't let me install it myself).

So, my question is - is there any other way to get my colormap
installed for a window the window manager doesn't know about?

------------
Andrew Wason
Bellcore
aw@cellar.bae.bellcore.com
bellcore!cellar!aw
Technical Details
Message-ID: <20379@bellcore.bellcore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!think!yale!cs.utexas.edu!rutgers!bellcore!cellar!aw

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!think!yale!cs.utexas.edu!rutgers!bellcore!cellar!aw
From: aw@cellar.bellcore.com (Andrew Wason)
Newsgroups: comp.windows.x
Subject: xlock colormap problems
Keywords: xlock colormap
Message-ID: <20379@bellcore.bellcore.com>
Date: 27 Feb 90 16:13:43 GMT
Sender: news@bellcore.bellcore.com
Reply-To: aw@cellar.bellcore.com (Andrew Wason)
Organization: Bell Communications Research
Lines: 28