GNU bug report logs - #28620
Mouse drag event records wrong window for release when crossing frames

Previous Next

Package: emacs;

Reported by: rswgnu <at> gmail.com

Date: Wed, 27 Sep 2017 15:45:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: rswgnu <at> gmail.com
Cc: Eli Zaretskii <eliz <at> gnu.org>, Alan Third <alan <at> idiocy.org>, 28620 <at> debbugs.gnu.org
Subject: bug#28620: Interact directly on Emacs bug#28620: mouse drag event records wrong release window
Date: Sat, 21 Oct 2017 10:05:03 +0200
> ​Yes, I see.  I am having similar issues when trying to replicate the 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?

There should be no "limitations".  As a rule,

(setq frame-resize-pixelwise t)
(make-frame (frame-parameters))

should give you an exact replica of the selected frame.  If you only
want to clone the size of the selected frame use

(setq frame-resize-pixelwise t)
(make-frame `((width . ,(frame-parameter nil 'width))
	      (height . ,(frame-parameter nil 'height))))

martin





This bug report was last modified 4 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.