summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:16:49 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:55:38 -0500
commit2a8924da5a32bd80369578257fb633f26964423e (patch)
treeaa8b93a96485699bb9e6293f5a1d8c68c2ad7157
parentf294d8ed4b22c8d683c577cd6c9f35f62d6760ba (diff)
Add continue_to_dispatch parameter to _XtResourceConfigurationEH()
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--include/X11/ResConfigP.h3
-rw-r--r--src/Create.c4
-rw-r--r--src/ResConfig.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/include/X11/ResConfigP.h b/include/X11/ResConfigP.h
index 1e1d85a..528bde2 100644
--- a/include/X11/ResConfigP.h
+++ b/include/X11/ResConfigP.h
@@ -68,7 +68,8 @@ _XFUNCPROTOBEGIN
extern void _XtResourceConfigurationEH(
Widget /* w */,
XtPointer /* client_data */,
- XEvent * /* event */
+ XEvent * /* event */,
+ Boolean * /* continue_to_dispatch */
);
_XFUNCPROTOEND
diff --git a/src/Create.c b/src/Create.c
index 5570e93..36e5f5b 100644
--- a/src/Create.c
+++ b/src/Create.c
@@ -666,7 +666,7 @@ _XtCreatePopupShell(String name,
#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
XtAddEventHandler(widget, (EventMask) PropertyChangeMask, FALSE,
- (XtEventHandler) _XtResourceConfigurationEH, NULL);
+ _XtResourceConfigurationEH, NULL);
#endif
return (widget);
}
@@ -716,7 +716,7 @@ _XtAppCreateShell(String name,
#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
XtAddEventHandler(shell, (EventMask) PropertyChangeMask, FALSE,
- (XtEventHandler) _XtResourceConfigurationEH, NULL);
+ _XtResourceConfigurationEH, NULL);
#endif
return shell;
diff --git a/src/ResConfig.c b/src/ResConfig.c
index 2ba68b0..b7dc8b0 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -881,7 +881,8 @@ dump_widget_tree(Widget w, int indent)
void
_XtResourceConfigurationEH(Widget w,
XtPointer client_data _X_UNUSED,
- XEvent *event)
+ XEvent *event,
+ Boolean *continue_to_dispatch _X_UNUSED)
{
Atom actual_type;
int actual_format;