gjs@k.cs.cmu.edu (Gregory Stein) (08/05/86)
Just a note to application writers... In an application I am writing, I used the GetWMgrPort call to get the port of the entire screen so that I could drag a gray region around. It works fine until you drag a window around. Then, the gray region won't appear. To fix it, I click on a window's title bar to select it, and the gray region will appear when I want to drag my region. After snooping around, I found that dragging a window will set the wMgrPort's clipRgn to empty! Nothing will appear when you try and draw into this port then. Rather than messing around with the window manager's port, my solution was just to create a new, temporary one with OpenPort. Greg gjs@k.cs.cmu.edu