Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!bloom-beacon!gatech!purdue!decwrl!hplabs!hpda!hp-sde!hpfcdc!hpfcdq!elliott From: elliott@hpfcdq.HP.COM (Ian Elliott) Newsgroups: comp.windows.x Subject: Re: rooms and hierarchies of window managers Message-ID: <890003@hpfcdq.HP.COM> Date: 16 May 88 20:41:29 GMT References: <8805112257.AA05122@modena.orc.olivetti.com> Organization: Hewlett-Packard - Fort Collins, CO Lines: 22 > lauwers@orc.olivetti.COM (Chris Lauwers) writes: > If uwm is used for both the > top-level room manager and the per-room window managers, they will all > attempt to grab the same buttons, and only the room-manager's attemp > will succeed (assuming it is started up first). Here's a quickly thought of way aroung your problem. Why don't you modify things so that each "window manager" creates and operates within its own draw-thru, sub-window of the root window? For example, the room manager would set up its passive-grab relative to the root window, and the window manager would set up its passive-grab relative to its sub-window of the root window. Then you need to have the window manager map all "top-level" window as sub windows of the wm's sub-window. I don't know if uwm normally does the remapping, but you could always look in the "wm" code to find out how to do it. Ian Elliott Graphics Technology Division Hewlett-Packard (303) 229-4272 elliott%hpfcian@hplabs.HP.COM ...!hplabs!hpfcla!elliott