From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19988: 25.0.50; Drag events ending in different frame Date: Mon, 09 Mar 2015 00:34:03 -0400 Message-ID: References: <87k2yycfwh.fsf@gnu.org> <54F72082.8080709@gmx.at> <87a8zs4g9c.fsf@gnu.org> <54F80E72.3040609@gmx.at> <54F9F836.7010103@gmx.at> <54FA1C9E.9040806@gmx.at> <54FAC7E5.1020604@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425875724 15945 80.91.229.3 (9 Mar 2015 04:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2015 04:35:24 +0000 (UTC) Cc: 19988@debbugs.gnu.org, Tassilo Horn To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 09 05:35:14 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 1YUpPL-0005bR-Pd for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 05:35:12 +0100 Original-Received: from localhost ([::1]:41442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUpPL-00049o-0w for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 00:35:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUpPH-00046j-G2 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 00:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUpPD-0008Ns-2v for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 00:35:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUpPD-0008NE-0A for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 00:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YUpPC-0003jI-Lt for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 00:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Mar 2015 04:35:02 +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.142587565214265 (code B ref 19988); Mon, 09 Mar 2015 04:35:02 +0000 Original-Received: (at 19988) by debbugs.gnu.org; 9 Mar 2015 04:34:12 +0000 Original-Received: from localhost ([127.0.0.1]:40003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUpON-0003i1-ER for submit@debbugs.gnu.org; Mon, 09 Mar 2015 00:34:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60350) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUpOL-0003hl-GU for 19988@debbugs.gnu.org; Mon, 09 Mar 2015 00:34:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8TAPOG1lRLd/0j/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA0kiDgIziMBAQEBAQEEAQEBAR6PeAeEKgWUfJR2gUUihAoignMBAQE X-IPAS-Result: Ar8TAPOG1lRLd/0j/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA0kiDgIziMBAQEBAQEEAQEBAR6PeAeEKgWUfJR2gUUihAoignMBAQE X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113030598" Original-Received: from 75-119-253-35.dsl.teksavvy.com (HELO ceviche.home) ([75.119.253.35]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Mar 2015 00:34:03 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5A6C56610A; Mon, 9 Mar 2015 00:34:03 -0400 (EDT) In-Reply-To: <54FAC7E5.1020604@gmx.at> (martin rudalics's message of "Sat, 07 Mar 2015 10:41:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:100312 Archived-At: >> If one of the two is the top window (i.e. the one that's actually >> visible), then we should use that one, > Detecting whether "one of the two is the top window (i.e. the one that's > actually visible)" requires access to the Z order of windows. Not exactly: since this should be done by the C code, it can ask the window-system, which is the "current window under the mouse pointer". The result depends on Z ordering, but Emacs doesn't need to know that Z ordering. > The event structure can only contain what we put into it. Which window > would you put into this structure after you leave the frame containing > the window where the start event occurred? The GUI window that's under the mouse pointer (according to the window-system). >> If not, then it doesn't really matter if we "get it right" or not. > If one frame obscures another, the obscured frame should IMHO not be > considered a valid target. If they're both obscured by a third window (which does not belong to us), then I don't think it matters much either way. Stefan