From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Possible Bug: Mouse drag event records wrong window for release when crossing frames Date: Fri, 29 Sep 2017 15:25:38 -0400 Message-ID: References: <59CB5D45.9070603@gmx.at> <59CE058D.3010607@gmx.at> <59CE8EDA.4090108@gmx.at> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113bfbee3d1bc1055a58ffc8" X-Trace: blaine.gmane.org 1506713184 16666 195.159.176.226 (29 Sep 2017 19:26:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 19:26:24 +0000 (UTC) Cc: martin rudalics , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 29 21:26:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dy0vU-0003Ox-1f for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 21:26:20 +0200 Original-Received: from localhost ([::1]:36748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy0vU-00083a-7j for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 15:26:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy0vN-00083J-CQ for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:26:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dy0vK-0003lc-8U for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:26:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy0vK-0003lM-4O for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:26:10 -0400 Original-Received: from mail-qt0-f169.google.com ([209.85.216.169]:50056) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1dy0vJ-0001db-Qu for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:26:09 -0400 Original-Received: by mail-qt0-f169.google.com with SMTP id o3so859579qte.6 for ; Fri, 29 Sep 2017 12:26:09 -0700 (PDT) X-Gm-Message-State: AMCzsaWR7PFKTM9h5NYxSfgPKRY2POvYrjRapzSokA3s7FOLcwzKsE4M MNk00CVgCzvKUolG4N//luIL0QmkRnv7XwRI2mo= X-Google-Smtp-Source: AOwi7QBJLCuXzkpfN2J31PzvUe7B4OaZ6k45mvZK+1G16BbNk8zN1vwajqvaEg7QLhxITuuPQoJ1s8QM9ZeYMK+5ox4= X-Received: by 10.200.42.99 with SMTP id l32mr7765678qtl.121.1506713169354; Fri, 29 Sep 2017 12:26:09 -0700 (PDT) Original-Received: by 10.237.34.225 with HTTP; Fri, 29 Sep 2017 12:25:38 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218940 Archived-At: --001a113bfbee3d1bc1055a58ffc8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2017 at 3:20 PM, Stefan Monnier wrote: > > =E2=80=8BOn a Mac with Emacs 25.3 with focus-follows-mouse=E2=80=8B and > > mouse-autoselect-window both set true, I get inconsistent behavior. > > Beware: `focus-follows-mouse` is a variable which does not *cause* the > focus to follow the mouse. Instead it has no other effect than to > inform Emacs that it's running in an environment where the > window-manager (or equivalent) uses the policy that the focus should > follow the mouse. > =E2=80=8BIn other words, it has no use under the macOS window manager. I just want to get drag events that work across frames. Bob =E2=80=8B > > > Stefan > --001a113bfbee3d1bc1055a58ffc8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Sep 29, 2= 017 at 3:20 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>= ; =E2=80=8BOn a Mac with Emacs 25.3 with focus-follows-mouse=E2=80=8B and > mouse-autoselect-window both set true, I get inconsistent behavior.
Beware: `focus-follows-mouse` is a variable which does not *cause* t= he
focus to follow the mouse.=C2=A0 Instead it has no other effect than to
inform Emacs that it's running in an environment where the
window-manager (or equivalent) uses the policy that the focus should
follow the mouse.

=E2=80=8BIn other words, it ha= s no use under the macOS window manager.
I just want to get drag events th= at work across frames.

Bob
=E2=80=8B


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan

--001a113bfbee3d1bc1055a58ffc8--