summaryrefslogtreecommitdiff
path: root/x11-wm/fluxbox/files/patch-src_FbWinFrame.cc
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-05-10 20:02:33 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-05-10 20:02:33 +0000
commit6daed9aef6d9d91f0a85b50b04f8fc1879f1cdb1 (patch)
tree84b7d016c21d71df9911a0e0f5d75a5c6a3a0b37 /x11-wm/fluxbox/files/patch-src_FbWinFrame.cc
parentUpdate net/rabbitmq to version 3.7.5. (diff)
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. https://github.com/fluxbox/fluxbox/commit/dcdde4d32c93d01df205bc06d7dfcbd356be031f 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)
Notes
Notes: svn path=/head/; revision=469574
Diffstat (limited to 'x11-wm/fluxbox/files/patch-src_FbWinFrame.cc')
-rw-r--r--x11-wm/fluxbox/files/patch-src_FbWinFrame.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/patch-src_FbWinFrame.cc b/x11-wm/fluxbox/files/patch-src_FbWinFrame.cc
new file mode 100644
index 000000000000..70cf3c5b8bb8
--- /dev/null
+++ b/x11-wm/fluxbox/files/patch-src_FbWinFrame.cc
@@ -0,0 +1,13 @@
+--- src/FbWinFrame.cc.orig 2015-02-08 10:44:45 UTC
++++ src/FbWinFrame.cc
+@@ -115,8 +115,8 @@ FbWinFrame::FbWinFrame(BScreen &screen, unsigned int c
+ m_state(state),
+ m_window(theme->screenNum(), state.x, state.y, state.width, state.height, s_mask, true, false,
+ client_depth, InputOutput,
+- ((client_depth == 32) && (screen.rootWindow().depth() == 32) ? screen.rootWindow().visual() : CopyFromParent),
+- ((client_depth == 32) && (screen.rootWindow().depth() == 32) ? screen.rootWindow().colormap() : CopyFromParent)),
++ (client_depth == screen.rootWindow().maxDepth() ? screen.rootWindow().visual() : CopyFromParent),
++ (client_depth == screen.rootWindow().maxDepth() ? screen.rootWindow().colormap() : CopyFromParent)),
+ m_layeritem(window(), *screen.layerManager().getLayer(ResourceLayer::NORMAL)),
+ m_titlebar(m_window, 0, 0, 100, 16, s_mask, false, false,
+ screen.rootWindow().decorationDepth(), InputOutput,