Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU Newsgroups: comp.windows.x Subject: Re: dont resize, iconify, or move me Message-ID: <9102081457.AA00471@lightning.McRCIM.McGill.EDU> Date: 8 Feb 91 14:57:32 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 40 > I have an application that wants to tell the window manager to 1) not > let the user resize it, This was mentioned here a while back. The closest you can come is to set the minimum-size and maximum-size values in the size hints to the same size. This asks (not tells) the window manager to keep it that size. Not all window managers will pay attention. > 2) not let the user move it, I know of no way whatever to achieve this. You can try to move yourself back if you get moved, but once again there is no guarantee the window manager will pay any attention. > and 3) not let the user to iconify it. I know of no way to do this. I suppose you could try to play games with your icon-window, but that strikes me as very fragile. You could always ask the window manager to deiconify you whenever you get iconified, but once again the window manager is free to ignore you. Depending on the purpose of the window, you might consider using an override-redirect window. They are rarely appropriate (pop-ups are about the only common thing for which override-redirects are really suited), but this might be one of those cases. Of course, various specific window managers may implement private protocols which allow clients to ask for things like this. If you are willing to depend on running under some specific wm, you might be able to use one of these. Why do you believe your application has to have a fixed size/position and mustn't be iconified? (That strikes me as a very antisocial way for an application to behave.) You may be trying to solve the wrong problem.... der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu