blob: 506b2f05f47722af295742ea20a83ac25b37f818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ae,v 1.2 2002/02/26 09:41:40 martti Exp $
--- src/wmtaskbar.cc.orig Tue Oct 9 16:54:04 2001
+++ src/wmtaskbar.cc Tue Feb 26 08:48:08 2002
@@ -287,7 +287,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() + ADD1 > ht) ht = fApm->height() + ADD1;
} else
|