openbsd-ports/x11/olvwm/patches/patch-27
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

42 lines
949 B
Plaintext

--- states.c.orig Thu Jan 13 22:36:20 1994
+++ ./states.c Fri Jul 16 21:49:04 1999
@@ -8,7 +8,7 @@
*/
#ifdef IDENT
-#ident "@(#)states.c 1.6 olvwm version 07 Jan 1994"
+#ident "@(#)states.c 1.7 olvwm version 09 Feb 1994"
#endif
/*
@@ -19,7 +19,9 @@
#include <errno.h>
#include <stdio.h>
+#ifdef __STDC__
#include <X11/Intrinsic.h>
+#endif
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -1356,7 +1358,9 @@
(WinFunc(iconInfo,core.setconfigfunc))
(iconInfo->core.client->dpy, iconInfo);
}
+#ifdef NOT
else {
+#endif
IconShow(cli, iconInfo);
ClientSetWMState(cli, IconicState);
if (cli->groupmask == GROUP_LEADER)
@@ -1367,7 +1371,9 @@
GroupApply(PANEWINOFCLIENT(cli), iconifyOne,
iconInfo, GROUP_DEPENDENT);
}
+#ifdef NOT
}
+#endif
break;
case GROUP_DEPENDENT: