summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches/patch-ac
blob: 1116ad033993741a3384c4a08083664fc7860119 (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.11 2012/04/17 20:08:06 bsiegert Exp $

--- src/fluxbox.cc.orig	Sat Oct 29 13:45:51 2011
+++ src/fluxbox.cc
@@ -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
 
@@ -1077,7 +1077,7 @@ void Fluxbox::saveWindowSearchGroup(Wind
 }
 
 void Fluxbox::saveGroupSearch(Window window, WinClient *data) {
-    m_group_search.insert(pair<const Window, WinClient *>(window, data));
+    m_group_search.insert(std::multimap<Window, WinClient *>::value_type(window, data));
 }