openbsd-ports/x11/olvwm/patches/patch-27

42 lines
949 B
Plaintext
Raw Normal View History

--- 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: