ray@orc.UUCP (Ray wong) (08/30/88)
I just getting started with X and have a question about the window manager. It is my understanding that the window manager is a separate client which handles window resizing, window placement, and window movement. Also a client creating a new window needs to negotiate with the window manager for size and location. What mechanisms are used for the client to window manager negotiation ? How do you locate the window manager ? How does the window manager prevent a client from placing a window anywhere it wants? Does it intercept these requests ? I have copies of the online X documentation. Ptrs to the appropriate sections would be greatly appreciated. Thanks Ray
RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (08/30/88)
Date: Mon, 29 Aug 88 17:07:55 PDT From: orawest!orc!ray@unix.sri.com (Ray wong) It is my understanding that the window manager is a separate client which handles window resizing, window placement, and window movement. Right. Also a client creating a new window needs to negotiate with the window manager for size and location. It's mostly a one-way negotiation; the client tells the window manager what it would like, and the wm decides (in consultation with the user) what the client will live with. What mechanisms are used for the client to window manager negotiation ? See Section 9.1 of the Xlib manual, and doc/conventions/icc.doc.tbl.ms. But, be warned that revisions of these conventions are currently under review within the Consortium, so changes are possible in the future. How do you locate the window manager ? You don't need to locate the window manager, it will locate you. How does the window manager prevent a client from placing a window anywhere it wants? Does it intercept these requests ? Yes, a window manager that wants to can intercept requests. Read about SubstructureRedirectMask in the Xlib manual.