diff options
| author | Gerd Moellmann | 2001-06-25 15:38:01 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-06-25 15:38:01 +0000 |
| commit | 80de57df35a9319c21526203f9410dccab354b91 (patch) | |
| tree | 8636aeed95addbcb5abbe9b49550b234b32d9f6c /src | |
| parent | ea0a1f53c78b7d997dab4f58f5d752186787b604 (diff) | |
| download | emacs-80de57df35a9319c21526203f9410dccab354b91.tar.gz emacs-80de57df35a9319c21526203f9410dccab354b91.zip | |
(struct x_output): Add member wait_for_wm.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/xterm.h | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 732dcbd3edf..59f7ca34653 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2001-06-25 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-06-25 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * widget.c (EmacsFrameSetCharSize): Set XtNwaitForWm depending | ||
| 4 | on the value of the wait-for-wm frame parameter. | ||
| 5 | |||
| 6 | * xterm.h (struct x_output): Add member wait_for_wm. | ||
| 7 | |||
| 8 | * xfns.c (Qwait_for_wm): New variable. | ||
| 9 | (x_frame_parms): Add entry for `wait-for-wm". | ||
| 10 | (x_set_wait_for_wm): New function. | ||
| 11 | (Fx_create_frame): Call x_default_parameter for wait-for-wm. | ||
| 12 | (syms_of_xfns): Initialize and staticpro Qwait_for_wm. | ||
| 13 | |||
| 3 | * xdisp.c (try_window_id) <all changes below window end>: Don't | 14 | * xdisp.c (try_window_id) <all changes below window end>: Don't |
| 4 | take this shortcut if ZV is visible in the window. | 15 | take this shortcut if ZV is visible in the window. |
| 5 | (try_window_id): When checking for window start being in changed | 16 | (try_window_id): When checking for window start being in changed |
diff --git a/src/xterm.h b/src/xterm.h index aecd5fead07..acd26535f16 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -581,6 +581,13 @@ struct x_output | |||
| 581 | /* The background for which the above relief GCs were set up. | 581 | /* The background for which the above relief GCs were set up. |
| 582 | They are changed only when a different background is involved. */ | 582 | They are changed only when a different background is involved. */ |
| 583 | unsigned long relief_background; | 583 | unsigned long relief_background; |
| 584 | |||
| 585 | /* Xt waits for a ConfigureNotify event from the window manager in | ||
| 586 | EmacsFrameSetCharSize when the shell widget is resized. For some | ||
| 587 | window managers like fvwm2 2.2.5 and KDE 2.1 this event doesn't | ||
| 588 | arrive for an unknown reason and Emacs hangs in Xt. If this is | ||
| 589 | zero, tell Xt not to wait. */ | ||
| 590 | int wait_for_wm; | ||
| 584 | }; | 591 | }; |
| 585 | 592 | ||
| 586 | /* Return the X window used for displaying data in frame F. */ | 593 | /* Return the X window used for displaying data in frame F. */ |