diff options
author | Po Lu <luangruo@yahoo.com> | 2022-10-12 15:07:49 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-10-12 15:08:01 +0800 |
commit | 2953d89d74ebfe6a6bcbe0d25a60a845acad0e13 (patch) | |
tree | af5220d41ea686ac0df84743acfc1db31668a875 /src/widgetprv.h | |
parent | c22e85715e47e371fda1af420f54e3840978b81f (diff) | |
download | emacs-2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.tar.gz emacs-2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.tar.bz2 emacs-2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.zip |
Stop relying on Xt hack to set window manager hints
* src/widget.c (get_wm_shell): Return WMShellWidget.
(update_wm_hints, widget_update_wm_size_hints): Return whether
or not size hints changed.
* src/widget.h: Delete `size_switch'.
* src/widgetprv.h (EmacsFramePart): Likewise.
* src/xterm.c (x_wm_set_size_hint): Set size hints the usual way
if Xt did not set them. (bug#58412)
Diffstat (limited to 'src/widgetprv.h')
-rw-r--r-- | src/widgetprv.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgetprv.h b/src/widgetprv.h index fe960326b03..3a4d9206ffe 100644 --- a/src/widgetprv.h +++ b/src/widgetprv.h @@ -49,9 +49,6 @@ typedef struct { Boolean visual_bell; /* flash instead of beep */ int bell_volume; /* how loud is beep */ - int size_switch; /* hack to make setting size - hints work correctly */ - /* private state */ } EmacsFramePart; |