Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!bloom-beacon!mcgill-vision!iros1!vedge!dan From: dan@vedge.UUCP (Dan Foody) Newsgroups: comp.windows.x Subject: Re: Finding which windows are under cursor Summary: need to find stacking order Message-ID: <2178@vedge.UUCP> Date: 6 Dec 88 23:10:30 GMT References: <2117@vedge.UUCP> <8812021922.AA13237@EXPO.LCS.MIT.EDU> Organization: Visual Edge Software, St. Laurent, Quebec Lines: 28 In article <8812021922.AA13237@EXPO.LCS.MIT.EDU>, rws@EXPO.LCS.MIT.EDU (Bob Scheifler) writes: > > Is there any way to find what windows are under the cursor (or under any > specific point). > > Yes, you can use XQueryTree to determine the hierarchy and XGetGeometry > to determine positioning. The problem is that I need to find the stacking order of the windows directly under the cursor; neither XQueryTree or XGetGeometry help. These calls will only help you find which windows are under the cursor, they do not help you if you want to find the order the windows are stacked in at the point under the cursor. Is there any way to find the stacking order? \\ // ////// ////// // // ////// // ////// /////// ////// ////// \\ // // // // // // // // // // // // // \\ // // ////// // // ////// // //// // // // /// //// \\ // // // // // // // // // // // // // // \\// ////// ////// ////// // // ////// ////// /////// ////// ////// // Dan Foody // The views expressed are solely // // Visual Edge Software // those of the writer and are not // // St. Laurent, Quebec, // those of Visual Edge Software, // // H4R 1V4 CANADA // or of Usenet. // // decvax!musocs!vedge!dan // vedge!dan@larry.mcrcim.mcgill.edu //