summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches/patch-ac
blob: 29698befb1377d74f7a33f51e355ddcfea292499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.10 2009/07/07 15:47:59 sborrill Exp $

--- src/fluxbox.cc.orig	2009-07-06 12:28:48.000000000 +0100
+++ src/fluxbox.cc	2009-07-06 12:35:00.000000000 +0100
@@ -84,7 +84,7 @@
 #ifdef SHAPE
 #include <X11/extensions/shape.h>
 #endif // SHAPE
-#ifdef HAVE_RANDR
+#if !defined(__sun)
 #include <X11/extensions/Xrandr.h>
 #endif // HAVE_RANDR
 
@@ -1227,7 +1227,7 @@
 }
 
 void Fluxbox::saveGroupSearch(Window window, WinClient *data) {
-    m_group_search.insert(pair<Window, WinClient *>(window, data));
+    m_group_search.insert(std::multimap<Window, WinClient *>::value_type(window, data));
 }