]> git.eshelyaron.com Git - emacs.git/commit
Stop relying on Xt hack to set window manager hints
authorPo Lu <luangruo@yahoo.com>
Wed, 12 Oct 2022 07:07:49 +0000 (15:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 12 Oct 2022 07:08:01 +0000 (15:08 +0800)
commit2953d89d74ebfe6a6bcbe0d25a60a845acad0e13
treeaf5220d41ea686ac0df84743acfc1db31668a875
parentc22e85715e47e371fda1af420f54e3840978b81f
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)
src/widget.c
src/widget.h
src/widgetprv.h
src/xterm.c