|
Line 0
Link Here
|
|
|
1 |
--- src/FbWinFrame.cc.orig 2015-02-08 10:44:45 UTC |
| 2 |
+++ src/FbWinFrame.cc |
| 3 |
@@ -115,8 +115,8 @@ FbWinFrame::FbWinFrame(BScreen &screen, unsigned int c |
| 4 |
m_state(state), |
| 5 |
m_window(theme->screenNum(), state.x, state.y, state.width, state.height, s_mask, true, false, |
| 6 |
client_depth, InputOutput, |
| 7 |
- ((client_depth == 32) && (screen.rootWindow().depth() == 32) ? screen.rootWindow().visual() : CopyFromParent), |
| 8 |
- ((client_depth == 32) && (screen.rootWindow().depth() == 32) ? screen.rootWindow().colormap() : CopyFromParent)), |
| 9 |
+ (client_depth == screen.rootWindow().maxDepth() ? screen.rootWindow().visual() : CopyFromParent), |
| 10 |
+ (client_depth == screen.rootWindow().maxDepth() ? screen.rootWindow().colormap() : CopyFromParent)), |
| 11 |
m_layeritem(window(), *screen.layerManager().getLayer(ResourceLayer::NORMAL)), |
| 12 |
m_titlebar(m_window, 0, 0, 100, 16, s_mask, false, false, |
| 13 |
screen.rootWindow().decorationDepth(), InputOutput, |