aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c')
-rw-r--r--x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c b/x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c
new file mode 100644
index 000000000000..af94efe107ae
--- /dev/null
+++ b/x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c
@@ -0,0 +1,10 @@
+--- lib/Xm/MenuShell.c.orig 2017-08-16 17:38:43.000000000 -0700
++++ lib/Xm/MenuShell.c 2023-12-04 15:33:35.350531000 -0800
+@@ -988,6 +988,7 @@
+ if (bottomEdgeOfMenu >= (Position)dispHeight)
+ {
+ if (pulldown_button && XtParent(pulldown_button) &&
++ XmIsRowColumn(XtParent(pulldown_button)) &&
+ (RC_Type(XtParent(pulldown_button)) == XmMENU_BAR))
+ {
+ Position y_temp = *y;