From: PT <mailshield.gg@mailnull.com>
Subject: Is make-frame async?
Date: Tue, 31 May 2005 17:30:57 +0200 [thread overview]
Message-ID: <op.srnb1vapp52o26@home-ca12fabbc0> (raw)
I tried creating a new frame and setting the mouse pointer to its 0,0
position in 21.3 on Linux:
(let ((frame (make-frame ...)))
(set-mouse-position frame 0 0))
Sometimes it works, sometimes the pointer is put into the 0,0 corner of
the desktop instead.
Maybe make-frame returns before the frame actually appears? The
documentation doesn't say so.
If this is the case is there a standard way to wait for the frame "to be
ready"?
I thought about polling it with frame-visible-p, but this method doesn't
seem too elegant.
Is there an other way?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
next reply other threads:[~2005-05-31 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-31 15:30 PT [this message]
2005-06-01 20:21 ` Is make-frame async? rgb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.srnb1vapp52o26@home-ca12fabbc0 \
--to=mailshield.gg@mailnull.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.