GNU bug report logs -
#23579
25.1.50; window-configuration-change-hook not invoked when window resized
Previous Next
Reported by: "Steve Purcell" <steve <at> sanityinc.com>
Date: Thu, 19 May 2016 04:44:02 UTC
Severity: minor
Tags: notabug
Found in version 25.1.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Under OS X "El Capitan" it's possible to split a Space between two
> full-screen applications, with a draggable divider between them.
>
> When Emacs is one of those split-screen applications, it does not
> trigger window-configuration-change-hook when the divider has been
> dragged, even though the net result is that the window configuration
> changed.
Recently I have tried to make the distinction between size and
configuration changes more precise. Please have a look at the Elisp
manual. The scenario you describe above does not change the
configuration of any of the involved frames but only their sizes.
> This means that user or package code which relies on the hook is not
> triggered reliably, leading to unexpected behaviour.
Indeed: For the given scenario you have to add a function to
‘window-size-change-functions’.
martin
This bug report was last modified 8 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.