]> git.eshelyaron.com Git - emacs.git/commit
Make sure `update_wm_hints' finds the WMShell
authorPo Lu <luangruo@yahoo.com>
Tue, 8 Feb 2022 00:46:31 +0000 (08:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 8 Feb 2022 00:48:55 +0000 (08:48 +0800)
commit1f45d273884a648f47abea919a5246452f542aa9
tree6b63158f9fcdca3e89ef872b3d0542fb77f47f7c
parent77cbde6d09bbca0070bfc7765fb07b8a69f7c6f2
Make sure `update_wm_hints' finds the WMShell

* src/widget.c (update_wm_hints): Accept frame separately from
the shell widget.
(widget_update_wm_size_hints): Require WM shell to be explictly
specified.
(EmacsFrameRealize):
(EmacsFrameResize): Update callers to `update_wm_hints'.
* src/widget.h: Update prototypes.
* src/xterm.c (x_wm_set_size_hint): Pass frame widget
(ApplicationShell) and the edit widget (EmacsFrame) to
`widget_update_wm_size_hints'.  (bug#53839)
src/widget.c
src/widget.h
src/xterm.c