ports/x11-wm/fluxbox/files/patch-src_Screen.cc
Alan Somers 6daed9aef6 x11-wm/fluxbox: x11-wm/fluxbox: apply upstream patch for multiple bugs
Fixes upstream bugs 1058, 1102, 1111, and 1140.  Fluxbox hasn't made a
release for 3 years, so we should stop waiting and patch our ports tree.

dcdde4d32c
https://sourceforge.net/p/fluxbox/bugs/1140/
https://sourceforge.net/p/fluxbox/bugs/1111/
https://sourceforge.net/p/fluxbox/bugs/1102/
https://sourceforge.net/p/fluxbox/bugs/1058/

PR:		227792
Approved by:	maintainer timeout (jgh)
2018-05-10 20:02:33 +00:00

11 lines
548 B
C++

--- src/Screen.cc.orig 2015-02-08 10:44:45 UTC
+++ src/Screen.cc
@@ -297,7 +297,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
"using visual 0x%lx, depth %d\n",
"informational message saying screen number (%d), visual (%lx), and colour depth (%d)").c_str(),
screenNumber(), XVisualIDFromVisual(rootWindow().visual()),
- rootWindow().depth());
+ rootWindow().maxDepth());
#endif // DEBUG
FbTk::EventManager *evm = FbTk::EventManager::instance();