From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.bugs Subject: bug#28620: Interact directly on Emacs bug#28620: mouse drag event records wrong release window Date: Wed, 11 Oct 2017 21:47:16 -0400 Message-ID: References: <83wp4e3nvx.fsf@gnu.org> <8360bx340d.fsf@gnu.org> <8360bw19es.fsf@gnu.org> <83vajwytja.fsf@gnu.org> <83poa4yqyq.fsf@gnu.org> <83376qouoj.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11473a842cdc0f055b4fba30" X-Trace: blaine.gmane.org 1507772908 18737 195.159.176.226 (12 Oct 2017 01:48:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 01:48:28 +0000 (UTC) To: Eli Zaretskii , martin rudalics , Alan Third , 28620@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 03:48:24 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1e2Sbe-00032n-2w for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 03:48:14 +0200 Original-Received: from localhost ([::1]:43299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Sbj-0007Wx-QR for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Oct 2017 21:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2SbV-0007Wg-OE for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 21:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2SbS-0001IM-Js for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 21:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2SbS-0001IG-Gg for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 21:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2SbS-00025g-9v for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 21:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 01:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28620 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28620-submit@debbugs.gnu.org id=B28620.15077728788027 (code B ref 28620); Thu, 12 Oct 2017 01:48:02 +0000 Original-Received: (at 28620) by debbugs.gnu.org; 12 Oct 2017 01:47:58 +0000 Original-Received: from localhost ([127.0.0.1]:34664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2SbO-00025P-B4 for submit@debbugs.gnu.org; Wed, 11 Oct 2017 21:47:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2SbM-00025C-NV for 28620@debbugs.gnu.org; Wed, 11 Oct 2017 21:47:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2SbE-0001AF-IT for 28620@debbugs.gnu.org; Wed, 11 Oct 2017 21:47:51 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2SbE-00019r-Ea for 28620@debbugs.gnu.org; Wed, 11 Oct 2017 21:47:48 -0400 Original-Received: from mail-qt0-f170.google.com ([209.85.216.170]:54536) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1e2SbE-0004Lh-1U for 28620@debbugs.gnu.org; Wed, 11 Oct 2017 21:47:48 -0400 Original-Received: by mail-qt0-f170.google.com with SMTP id z19so10868519qtg.11 for <28620@debbugs.gnu.org>; Wed, 11 Oct 2017 18:47:47 -0700 (PDT) X-Gm-Message-State: AMCzsaWPdUg+Ng9MEpQULzHAmnqvpW2KhnThJ+0DCIJ+K8s+n+Y9X8pr xNa6jgdLoeUNa7r3/vzQzd0abqjt/kPY2pcKRB0= X-Google-Smtp-Source: ABhQp+T99ACZy8SK37n4DVmQqcaOXn7We11LL3jThnrd9aAuHAEcX3pc74EDzEzRde8U+cMUElMFoq7SFjwxQ0XcYoU= X-Received: by 10.55.25.85 with SMTP id k82mr1210955qkh.223.1507772867597; Wed, 11 Oct 2017 18:47:47 -0700 (PDT) Original-Received: by 10.200.37.243 with HTTP; Wed, 11 Oct 2017 18:47:16 -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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138239 Archived-At: --001a11473a842cdc0f055b4fba30 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Oct 11, 2017 at 9:35 PM, Robert Weiner wrote: > > Is there any way to deal with external window z-order layering such that > one can tell within Emacs whether the topmost OS-level window at an > absolute mouse position is an Emacs frame or not? > =E2=80=8BOne idea is to expand frame-list-z-order with a 2nd optional argum= ent of all-display-windows-flag which when non-nil would include all of the OS-level windows in the returned list. Maybe a new object type or frame-variant is needed for this. Then just add another function that returns the edge coordinates for such windows and we could account for them in any z-ordering computations. What do you think? Bob =E2=80=8B --001a11473a842cdc0f055b4fba30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 11, 2= 017 at 9:35 PM, Robert Weiner <rsw= @gnu.org> wrote:=

Is= there any way to deal with external window z-order layering such that one = can tell within Emacs whether the topmost OS-level window at an absolute mo= use position is an Emacs frame or not?

= =E2=80=8BOne idea is to expand frame-list-z-order with a 2nd optional argum= ent of all-display-windows-flag which when non-nil would include all of the= OS-level windows in the returned list.=C2=A0 Maybe a new object type or fr= ame-variant is needed for this.=C2=A0 Then just add another function that r= eturns the edge coordinates for such windows and we could account for them = in any z-ordering computations.=C2=A0 What do you think?

Bob
=E2=80= =8B
--001a11473a842cdc0f055b4fba30--