summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-11 14:13:06 (GMT)
committerrathnor <rathnor>2004-09-11 14:13:06 (GMT)
commitb063688992c877a19556b36e8140e4d4b6890a0c (patch)
treebd4d5260911f3b8ab49c4461dba310129a5f95f2 /src
parent92bc932dc341948b23f959b93403a7561e438871 (diff)
downloadfluxbox_lack-b063688992c877a19556b36e8140e4d4b6890a0c.zip
fluxbox_lack-b063688992c877a19556b36e8140e4d4b6890a0c.tar.bz2
ignore 32-bit visuals for now - until we can support alpha channel in colors
Diffstat (limited to 'src')
-rw-r--r--src/FbRootWindow.cc5
1 files changed, 3 insertions, 2 deletions
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRootWindow.cc,v 1.2 2003/05/12 04:29:50 fluxgen Exp $ 22// $Id: FbRootWindow.cc,v 1.3 2004/09/11 14:13:06 rathnor Exp $
23 23
24#include "FbRootWindow.hh" 24#include "FbRootWindow.hh"
25#include "App.hh" 25#include "App.hh"
@@ -46,7 +46,8 @@ FbRootWindow::FbRootWindow(int screen_num):
46 vinfo_nitems > 0) { 46 vinfo_nitems > 0) {
47 47
48 for (int i = 0; i < vinfo_nitems; i++) { 48 for (int i = 0; i < vinfo_nitems; i++) {
49 if (DefaultDepth(disp, screen_num) < vinfo_return[i].depth) 49 // We can't handle 32-bit visuals just yet (Composite ARGB)
50 if (vinfo_return[i].depth != 32 && DefaultDepth(disp, screen_num) < vinfo_return[i].depth)
50 m_visual = vinfo_return[i].visual; 51 m_visual = vinfo_return[i].visual;
51 } 52 }
52 53