mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
23 lines
876 B
Plaintext
23 lines
876 B
Plaintext
$NetBSD: patch-ac,v 1.13 2013/04/30 22:31:02 joerg Exp $
|
|
|
|
--- src/fluxbox.cc.orig 2013-04-30 20:22:28.000000000 +0000
|
|
+++ src/fluxbox.cc
|
|
@@ -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));
|
|
}
|
|
|
|
|
|
@@ -1341,7 +1341,7 @@ bool Fluxbox::validateClient(const WinCl
|
|
WinClientMap::const_iterator it =
|
|
find_if(m_window_search.begin(),
|
|
m_window_search.end(),
|
|
- Compose(bind2nd(equal_to<WinClient *>(), client),
|
|
+ Compose(bind2nd(equal_to<const WinClient *>(), client),
|
|
Select2nd<WinClientMap::value_type>()));
|
|
return it != m_window_search.end();
|
|
}
|