all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 36165-done@debbugs.gnu.org
Subject: bug#36165: 27.0.50; `select-frame-set-input-focus' moves mouse pointer outside of frame
Date: Wed, 12 Jun 2019 14:39:23 +0000	[thread overview]
Message-ID: <CAOqdjBe=BUq9w2LHJWepbNNG8i3HqPDFP7g+UZhdh428-6WnsQ@mail.gmail.com> (raw)
In-Reply-To: <d8c67af5-7eff-c145-32df-06a9de258598@gmx.at>

Thanks, it appears to work here.

On Tue, Jun 11, 2019 at 8:17 AM martin rudalics <rudalics@gmx.at> wrote:
>
>  > In emacs -Q, disable scroll-bar-mode and evaluate:
>  >
>  > (let ((mouse-autoselect-window t))
>  >    (select-frame-set-input-focus (window-frame)))
>  >
>  > The mouse pointer will now be to the right of the window frame; with
>  > normal window managers, this doesn't matter much, except that a "resize
>  > this window" cursor might be shown rather than the usual one, but with
>  > tiling window managers, the cursor position may correspond to another
>  > window, which is then raised and wrongly receives keyboard focus. This
>  > actually happened to me.
>  >
>  > The attached patch fixes things, by moving the mouse pointer to the last
>  > valid x position.
>
> Pushed to master.  Please have a look and close the bug in case I did
> things right.
>
> Thank your very much, martin





      reply	other threads:[~2019-06-12 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11  7:22 bug#36165: 27.0.50; `select-frame-set-input-focus' moves mouse pointer outside of frame Pip Cet
2019-06-11  8:17 ` martin rudalics
2019-06-12 14:39   ` Pip Cet [this message]

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='CAOqdjBe=BUq9w2LHJWepbNNG8i3HqPDFP7g+UZhdh428-6WnsQ@mail.gmail.com' \
    --to=pipcet@gmail.com \
    --cc=36165-done@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.