43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
$OpenBSD: patch-states_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
|
|
--- states.c.orig 1994-01-13 22:36:20.000000000 +0100
|
|
+++ states.c 2004-01-28 21:49:10.000000000 +0100
|
|
@@ -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 @@ Time timestamp;
|
|
(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 @@ Time timestamp;
|
|
GroupApply(PANEWINOFCLIENT(cli), iconifyOne,
|
|
iconInfo, GROUP_DEPENDENT);
|
|
}
|
|
+#ifdef NOT
|
|
}
|
|
+#endif
|
|
break;
|
|
|
|
case GROUP_DEPENDENT:
|