aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/open-motif/files/patch-lib_Xm_MenuShell.c
blob: af94efe107ae7d8eef8549697a87144b260f5a3c (plain) (blame)
1
2
3
4
5
6
7
8
9
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;