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: Fri, 20 Oct 2017 10:26:22 -0400 Message-ID: References: <83vajwytja.fsf@gnu.org> <83poa4yqyq.fsf@gnu.org> <83376qouoj.fsf@gnu.org> <59DF2260.5030204@gmx.at> <59E1CC55.2090400@gmx.at> <59E32CFA.5080405@gmx.at> <59E5C5FE.2050807@gmx.at> <59E9AC02.8090202@gmx.at> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0e6e329fed5d055bfb4309" X-Trace: blaine.gmane.org 1508509696 17423 195.159.176.226 (20 Oct 2017 14:28:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2017 14:28:16 +0000 (UTC) Cc: Alan Third , 28620@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 20 16:28:12 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 1e5YHN-00032H-05 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Oct 2017 16:28:05 +0200 Original-Received: from localhost ([::1]:54264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YHU-0006U9-HR for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Oct 2017 10:28:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YHN-0006Su-QW for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 10:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5YHK-0003Zw-Ms for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 10:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5YHK-0003Zo-JC for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5YHK-0005Yk-Dt for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2017 10:28: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: Fri, 20 Oct 2017 14:28: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.150850962521298 (code B ref 28620); Fri, 20 Oct 2017 14:28:02 +0000 Original-Received: (at 28620) by debbugs.gnu.org; 20 Oct 2017 14:27:05 +0000 Original-Received: from localhost ([127.0.0.1]:52494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5YGO-0005XS-PI for submit@debbugs.gnu.org; Fri, 20 Oct 2017 10:27:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5YGM-0005Wt-Bt for 28620@debbugs.gnu.org; Fri, 20 Oct 2017 10:27:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5YGD-00034Q-Ta for 28620@debbugs.gnu.org; Fri, 20 Oct 2017 10:26:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YGD-00034G-Pc for 28620@debbugs.gnu.org; Fri, 20 Oct 2017 10:26:53 -0400 Original-Received: from mail-qt0-f174.google.com ([209.85.216.174]:53016) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1e5YGD-0002zP-GP for 28620@debbugs.gnu.org; Fri, 20 Oct 2017 10:26:53 -0400 Original-Received: by mail-qt0-f174.google.com with SMTP id 31so18631451qtz.9 for <28620@debbugs.gnu.org>; Fri, 20 Oct 2017 07:26:53 -0700 (PDT) X-Gm-Message-State: AMCzsaWlP2dC6RQMF+lxspkVQyReJlr8zq1Cqst3EsVCUJ7PB9d3ouHD m3CdbUFX0rTLuLuz1vqJnLXvC3E6t1GM+4/Fnpk= X-Google-Smtp-Source: ABhQp+TecqB6oiORgo3yQ0ZOzYfDGddyfQOd2DEzpZnRVpklBsKzk13LJrTQudqARHncq/J5P92Yw0/YNdMeTboSqz0= X-Received: by 10.237.59.249 with SMTP id s54mr7577237qte.34.1508509613025; Fri, 20 Oct 2017 07:26:53 -0700 (PDT) Original-Received: by 10.200.12.74 with HTTP; Fri, 20 Oct 2017 07:26:22 -0700 (PDT) In-Reply-To: <59E9AC02.8090202@gmx.at> 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:138769 Archived-At: --94eb2c0e6e329fed5d055bfb4309 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 20, 2017 at 3:55 AM, martin rudalics wrote: > > =E2=80=8BOk. It would be more helpful if you explained which problems = you feel > are > > relevant to the discussion at hand. > > For example that of getting the screen dimensions of a window. Have a > look at x_real_pos_and_offsets to get an idea of the tribulations needed > to do that for an Emacs frame. These are by far the most complicated > operations we do in the X specific code and I have reports that we still > do not get the right results everywhere. =E2=80=8BYes, I see. I am having similar issues when trying to replicate t= he size of a frame under the macOS window system. I can't seem to get the new frame to match the old frame by using (frame-edges nil 'outer-edges) or (frame-edges nil 'native-edges). In earlier versions of Emacs, I don't remember this being a problem but I can't recall when that was. What is the best way available to replicate the size of one frame to another given the limitations that exist now? Bob --94eb2c0e6e329fed5d055bfb4309 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Oct 20, 2= 017 at 3:55 AM, martin rudalics <rudalics@gmx.at> wrote:
> =E2=80=8BOk.=C2= =A0 It would be more helpful if you explained which problems you feel are > relevant to the discussion at hand.

For example that of getting the screen dimensions of a window.=C2=A0 Have a=
look at x_real_pos_and_offsets to get an idea of the tribulations needed to do that for an Emacs frame.=C2=A0 These are by far the most complicated<= br> operations we do in the X specific code and I have reports that we still do not get the right results everywhere.

=E2=80=8BYe= s, I see.=C2=A0 I am having similar issues when trying to replicate the siz= e of a frame under the macOS window system.=C2=A0 I can't seem to get t= he new frame to match the old frame by using (frame-edges nil 'outer-ed= ges) or (frame-edges nil 'native-edges).=C2=A0 In earlier versions of E= macs, I don't remember this being a problem but I can't recall when= that was.=C2=A0 What is the best way available to replicate the size of on= e frame to another given the limitations that exist now?

Bob
--94eb2c0e6e329fed5d055bfb4309--