home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!news.edu.tw!sparc4.ncu.edu.tw!ba!u438813
- From: u438813@ba.ncu.edu.tw (Lin Wei-Ting)
- Subject: Let the pointer still in a window.
- Message-ID: <1992Dec14.124847.24626@sparc4.ncu.edu.tw>
- Sender: news@sparc4.ncu.edu.tw
- Reply-To: u438813@ba.ncu.edu.tw
- Organization: Sun Microsystems, Inc.
- Date: Mon, 14 Dec 1992 12:48:47 GMT
- Lines: 10
-
-
- I want the pointer still in a window.
- I tried to do this.
- if(event_action(event) == LOC_WINEXIT)
- {
- x=event_x(event);
- y=event_y(event);
- XWarpPointer(theDisplay,None,xwin,0,0,0,0,x,y);
- But it cannot work.
- How to do ?
-