aw@cellar.bellcore.com (Andrew Wason) (02/28/90)
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