diff options
| author | Martin Rudalics | 2014-11-08 12:11:50 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-11-08 12:11:50 +0100 |
| commit | c936cbbc830b194dbb1cd7ff039ea9978a7ab607 (patch) | |
| tree | 34398222a4e29fda5c2e26844b54ad7eea3d6351 /src/ChangeLog | |
| parent | a05fd1fc7813611575cad6890a45b5fd7eba8e67 (diff) | |
| download | emacs-c936cbbc830b194dbb1cd7ff039ea9978a7ab607.tar.gz emacs-c936cbbc830b194dbb1cd7ff039ea9978a7ab607.zip | |
Run `window-configuration-change-hook' only after all faces have been realized.
* frame.c (adjust_frame_size): Call x_set_window_size only if
f->can_x_set_window_size is set.
(make_frame): Initialize f->can_x_set_window_size and
f->can_run_window_configuration_change_hook.
(Fcan_run_window_configuration_change_hook): New function.
* frame.h (frame): Split `official' into `can_x_set_window_size'
and `can_run_window_configuration_change_hook'.
* nsfns.m (Fx_create_frame): Set f->can_x_set_window_size.
* w32fns.c (Fx_create_frame, x_create_tip_frame): Set
f->can_x_set_window_size.
* window.c (run_window_configuration_change_hook): Return
immediately if either f->can_x_set_window_size or
f->can_run_window_configuration_change_hook are false.
(Fset_window_configuration): Instead of f->official set
f->can_x_set_window_size.
* xfns.c (Fx_create_frame, x_create_tip_frame): Set
f->can_x_set_window_size.
* faces.el (face-set-after-frame-default): Enable running
`window-configuration-change-hook'.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4700e314a16..f8ed3b36dde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2014-11-08 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * frame.c (adjust_frame_size): Call x_set_window_size only if | ||
| 4 | f->can_x_set_window_size is set. | ||
| 5 | (make_frame): Initialize f->can_x_set_window_size and | ||
| 6 | f->can_run_window_configuration_change_hook. | ||
| 7 | (Fcan_run_window_configuration_change_hook): New function. | ||
| 8 | * frame.h (frame): Split `official' into `can_x_set_window_size' | ||
| 9 | and `can_run_window_configuration_change_hook'. | ||
| 10 | * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size. | ||
| 11 | * w32fns.c (Fx_create_frame, x_create_tip_frame): Set | ||
| 12 | f->can_x_set_window_size. | ||
| 13 | * window.c (run_window_configuration_change_hook): Return | ||
| 14 | immediately if either f->can_x_set_window_size or | ||
| 15 | f->can_run_window_configuration_change_hook are false. | ||
| 16 | (Fset_window_configuration): Instead of f->official set | ||
| 17 | f->can_x_set_window_size. | ||
| 18 | * xfns.c (Fx_create_frame, x_create_tip_frame): Set | ||
| 19 | f->can_x_set_window_size. | ||
| 20 | |||
| 1 | 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> | 21 | 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 22 | ||
| 3 | * nsterm.m (EmacsScroller.dealloc): Reinstate, removed at merge | 23 | * nsterm.m (EmacsScroller.dealloc): Reinstate, removed at merge |