From b063688992c877a19556b36e8140e4d4b6890a0c Mon Sep 17 00:00:00 2001 From: rathnor Date: Sat, 11 Sep 2004 14:13:06 +0000 Subject: ignore 32-bit visuals for now - until we can support alpha channel in colors --- ChangeLog | 3 +++ src/FbRootWindow.cc | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6075a3f..8ac150a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ (Format: Year/Month/Day) Changes for 0.9.11 *04/09/11: + * Ignore 32-bit visuals for now when selecting (Simon) + - should fix problems with Composite being enabled in X.org + FbRootWindow.cc * Fixed issues with Strut and multiple heads (Thanks Mathieu De Zutter) Screen.hh/cc, HeadArea.hh/cc, Slit.cc, Toolbar.cc, Ewmh.cc Strut.hh/cc, ToolFactory.cc, fluxbox.cc, FbTk/Menu.hh/cc diff --git a/src/FbRootWindow.cc b/src/FbRootWindow.cc index aa03d1c..31cd6cc 100644 --- a/src/FbRootWindow.cc +++ b/src/FbRootWindow.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbRootWindow.cc,v 1.2 2003/05/12 04:29:50 fluxgen Exp $ +// $Id: FbRootWindow.cc,v 1.3 2004/09/11 14:13:06 rathnor Exp $ #include "FbRootWindow.hh" #include "App.hh" @@ -46,7 +46,8 @@ FbRootWindow::FbRootWindow(int screen_num): vinfo_nitems > 0) { for (int i = 0; i < vinfo_nitems; i++) { - if (DefaultDepth(disp, screen_num) < vinfo_return[i].depth) + // We can't handle 32-bit visuals just yet (Composite ARGB) + if (vinfo_return[i].depth != 32 && DefaultDepth(disp, screen_num) < vinfo_return[i].depth) m_visual = vinfo_return[i].visual; } -- cgit v0.11.2