blob: 687bc5d112bf7059c2134c18ce82aff6d08ca82f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ae,v 1.4 2002/08/25 21:51:35 jlam Exp $
--- src/wmtaskbar.cc.orig Thu May 16 05:00:02 2002
+++ src/wmtaskbar.cc Sat May 25 09:41:09 2002
@@ -288,7 +288,11 @@
} else
fClock = 0;
#ifdef CONFIG_APPLET_APM
+#ifdef __linux__
if (taskBarShowApm && access("/proc/apm", 0) == 0) {
+#elif defined(__NetBSD__)
+ if (taskBarShowApm && access(APMDEV, 0) == 0) {
+#endif
fApm = new YApm(this);
if (fApm->height() > ht) ht = fApm->height();
} else
|