From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19988: 25.0.50; Drag events ending in different frame Date: Fri, 06 Mar 2015 19:55:50 +0100 Message-ID: <54F9F836.7010103@gmx.at> References: <87k2yycfwh.fsf@gnu.org> <54F72082.8080709@gmx.at> <87a8zs4g9c.fsf@gnu.org> <54F80E72.3040609@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1425668372 9222 80.91.229.3 (6 Mar 2015 18:59:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 18:59:32 +0000 (UTC) Cc: 19988@debbugs.gnu.org, Tassilo Horn To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 19:59:21 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YTxSy-0001wG-FQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 19:59:20 +0100 Original-Received: from localhost ([::1]:59845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTxSx-0006Dx-UJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 13:59:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTxQn-0001q6-QL for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 13:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTxQk-0001zt-8y for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 13:57:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTxQk-0001zo-4r for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTxQj-0007De-Vp for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 13:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2015 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19988 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19988-submit@debbugs.gnu.org id=B19988.142566817327672 (code B ref 19988); Fri, 06 Mar 2015 18:57:01 +0000 Original-Received: (at 19988) by debbugs.gnu.org; 6 Mar 2015 18:56:13 +0000 Original-Received: from localhost ([127.0.0.1]:37813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTxPw-0007CF-GY for submit@debbugs.gnu.org; Fri, 06 Mar 2015 13:56:12 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:51011) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTxPv-0007C1-7c for 19988@debbugs.gnu.org; Fri, 06 Mar 2015 13:56:11 -0500 Original-Received: from [178.191.142.164] ([178.191.142.164]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M85r3-1XYGS618mP-00vgsE; Fri, 06 Mar 2015 19:55:59 +0100 In-Reply-To: X-Provags-ID: V03:K0:HjNrjc8PcMGkgwV6A6AsnAzHtew8vDl/mRva0Ac6YO1/LIqErfb xuVxZeBOnOpQ+PpV99EPXbg2U7dL6mNdKLZTckuGCzjs/8njNg/wPc2x5VruH7rV8ndGriv Q1uE6qr4OVDIw4aBp9uTc3Bkp0dUiNOeJuoQXdKYR4AysnFAxgGS4ROdweYfnydmmQLS6gr LP72q4YKsn4U+hO4+TI+A== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100183 Archived-At: > The drag event should return the one that's on top. The top window is usually the one where the drag started. We need the Emacs window not obscured by _any_ other window at the location of the mouse cursor. How do we find that window? > Then you can > compute the corresponding location in the lower window if it wants to > using the kind of code you suggested (because it knows it wants that > specific window, not for its stacking order but for other reasons). Any code trying to detect the target window has to do the same computation. Mine was only an attempt to do that manually within Tassilo's original proposal. martin