summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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