Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!rice!sun-spots-request From: sxm@philabs.philips.com (Sandeep Mehta) Newsgroups: comp.sys.sun Subject: repaint problem for (genuine) subwindows Keywords: Windows Message-ID: <51263@philabs.Philips.Com> Date: 8 May 89 19:29:48 GMT Sender: usenet@rice.edu Organization: Autonomous Systems, Philips Labs, Briarcliff Manor, NY Lines: 17 Approved: Sun-Spots@rice.edu Original-Date: 1 May 89 18:43:03 GMT X-Sun-Spots-Digest: Volume 7, Issue 276, message 17 of 18 The basic problem is that the part of the window manager which handles refresh after a window move or resize interprets the position of the window as being relative to the top left-hand corner of the screen (or root window), rather than relative to its parent. For all normal applications, the parent is the root window, so no problem arises, but if you create a true subwindow (in my case, using window_create( 0, FRAME, ...), having changed the window parent variable (with we_setparentwindow) to be the name of a frame I created earlier) then moving or resizing the subwindow causes incorrect refresh. There must be a fix for this somewhere. Thanks in advance. sandeep -- Sandeep Mehta ...to be or not to bop ? uunet!philabs!bebop!sxm sxm@philabs.philips.com