From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Cannot Identify header line text at mouse pointer after mouse drag to different frame Date: Mon, 02 Aug 2021 14:17:37 +0300 Message-ID: <83sfzsm6y6.fsf@gnu.org> References: <1627861103.5524.16.camel@bloodnok.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34060"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 13:18:20 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAVxb-0008g0-Hk for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 13:18:19 +0200 Original-Received: from localhost ([::1]:57036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAVxZ-00066F-M5 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 07:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAVxE-000665-Cl for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 07:17:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41032) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAVxE-0006aa-65 for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 07:17:56 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4962 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAVxD-0006z1-Qy for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 07:17:56 -0400 In-Reply-To: <1627861103.5524.16.camel@bloodnok.com> (message from Marc Munro on Sun, 01 Aug 2021 16:38:23 -0700) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132313 Archived-At: > From: Marc Munro > Date: Sun, 01 Aug 2021 16:38:23 -0700 > > If I drag from a header line to the same header line, or to another > header line in the same frame, all is well, but if I drag to a header > line in a different frame the posn-xxx functions appear to not realise > the windows in that frame have header lines. > > My header lines contain a number of buttons, and I'm trying to > implement drag and drop functionality between them. > > Interestingly, during a drag operation when I mouse over the buttons in > windows within my start frame, all of the tooltips and face changes > associated with the buttons work just as they do outside of drag > operations, but in other frames the header line appears inert. If I > continue dragging back to the source frame, the header line buttons > that I mouse over continue to interact normally. > > It looks like emacs is unwilling to acknowledge the header lines of any > but the source window while mouse dragging is under way. > > Any ideas? Is this a deficiency, a philosophical issue (ie, it has to > be like this because...), or am I missing something? It's hard to say, since you didn't show any code. A simple recipe to reproduce the problem would go a long way towards understanding the reasons for what you see.