: But doing so, only the content of the Window seems to be moved but not : the decoration (head-line, frame and clipping area) so that it looks as : if the content is moved within the decoration. So the decoration seems : to be an additional window that is not accessed by the window-ID i get : when calling GrNewWindow(). But it also does not seem to be a child : window (I suppose otherwise it would be moved with it's parent).
When the nanowm window manager runs, it creates an additional window used as a window frame for all top level windows (windows whose parent is root). It uses GrReparentWindow to cause this new frame window to be the parent of the user window. Thus, the frame window contains the user window. You can access this window by getting the parent window ID of your window. The X11 window manager works the same way but additionally "redirects" window move requests to the frame window by catching these events and resending them. In general, a top-level window shouldn't care where it is positioned exactly, thus normally calls to GrMoveWindow on a top level window would be considered bad manners... Hope that helps. Check out the code in src/demos/nanowm for details on how the window manager does its thing and catches other events. Regards, Greg : : What is the paradigm used here ? How to move the complete window ? : : Thanks for any help ! : -Michael : : --------------------------------------------------------------------- : To unsubscribe, e-mail: [EMAIL PROTECTED] : For additional commands, e-mail: [EMAIL PROTECTED] : : : --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]