openbsd-ports/x11/olvwm/patches/patch-28
matthieu 2abc28d1f2 Integrate patchlevel 2 by Scott Oaks (scott.oaks@sun.com)
Version 4.2 fixes:
    1)  Fixed problems with windows that have a compound text title

    2)  Fixed problems with the cursor font name

    3)  error.c will now compile under Solaris 2.6

    4)  Fixed misc. compilation warnings.  Some survive in error.c and states.c

    5)  Fixed warp function when two screens have the same program:  warp will
        now look first on the screen containing the mouse pointer

    6)  Fixed hot key functions when num lock/shift lock might be pressed

    7)  Fixed problem with AutoRootMenu startup

    8)  Fixed problem with VirtualIconic resource
1999-07-17 10:53:21 +00:00

30 lines
765 B
Plaintext

--- usermenu.c.orig Thu Jan 13 22:36:21 1994
+++ ./usermenu.c Sat Jul 17 10:04:16 1999
@@ -5,7 +5,7 @@
*/
#ifdef IDENT
-#ident "@(#)usermenu.c 1.6 olvwm version 07 Jan 1994"
+#ident "@(#)usermenu.c 1.7 olvwm version 01/13/98"
#endif
/*
@@ -122,7 +122,7 @@
#define _XtIntrinsic_h
typedef unsigned long Pixel; /* Index into colormap */
#endif /* NO_PIXEL_FIX */
-#include <xpm.h>
+#include <X11/xpm.h>
#endif XPM
#include <assert.h>
@@ -1003,7 +1003,7 @@
int lineno = 1; /* Needed for recursion */
int rval;
- if (++menuRecursionCount > 25) {
+ if (++menuRecursionCount > 1000) {
fprintf(stderr, GetString("olvwm: maximum menu filedepth exceeded\n"));
menuRecursionCount = 0;
return MENU_RECURSION;