summaryrefslogtreecommitdiff
path: root/src/widget.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-02-08 08:46:31 +0800
committerPo Lu <luangruo@yahoo.com>2022-02-08 08:48:55 +0800
commit1f45d273884a648f47abea919a5246452f542aa9 (patch)
tree6b63158f9fcdca3e89ef872b3d0542fb77f47f7c /src/widget.h
parent77cbde6d09bbca0070bfc7765fb07b8a69f7c6f2 (diff)
downloademacs-1f45d273884a648f47abea919a5246452f542aa9.tar.gz
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)
Diffstat (limited to 'src/widget.h')
-rw-r--r--src/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.h b/src/widget.h
index dbf21a64cb9..2906d5ff9ec 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -97,6 +97,6 @@ extern struct _DisplayContext *display_context;
/* Special entry points */
void EmacsFrameSetCharSize (Widget, int, int);
void widget_store_internal_border (Widget widget);
-void widget_update_wm_size_hints (Widget widget);
+void widget_update_wm_size_hints (Widget widget, Widget frame);
#endif /* _EmacsFrame_h */