Article View: gnu.emacs.bug
Article #87503set-mouse-position
From: Michael Kifer
Date: Mon, 19 Sep 1994 14:55
Date: Mon, 19 Sep 1994 14:55
32 lines
1604 bytes
1604 bytes
In GNU Emacs 19.27.1 (sparc-sun-sunos4.1.3, X toolkit) of Sun Sep 18 1994 on sbkifer I think the following is a bug: emacs -q (progn (setq aaa (make-frame)) (set-mouse-position aaa 1 1) (sit-for 3) (iconify-frame aaa) (set-mouse-position aaa 1 1)) and evaluate. You will see that the mouse pointer will remain where it was. Moreover, if later you eval, say, (set-mouse-position aaa 4 4) Then the pointer will move to the pos 4,4 relative to the place the frame in aaa would have been, if we deiconify it. In other words, set-mouse-position remembers where the frame was and puts cursor there. Since this place may now be occupied by some other place (or it may be empty), such behavior doesn't make much sense. The expected behavior is to move pointer to where the icon is. (I think, if frame is iconified, pointer should move it to the center of the icon and ignore the coordinates given in set-mouse-position.)
Technical Details
Message-ID:
<199409191442.AA10530@cs.sunysb.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cs.sunysb.edu!kiferShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,4f4cac3953aeada5,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-20 00:56:26 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cs.sunysb.edu!kifer From: kifer@cs.sunysb.edu (Michael Kifer) Newsgroups: gnu.emacs.bug Subject: set-mouse-position Date: 19 Sep 1994 10:55:03 -0400 Organization: GNUs Not Usenet Lines: 32 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <199409191442.AA10530@cs.sunysb.edu>