]> Dogcows Code - chaz/openbox/blobdiff - otk/surface.cc
use a solid color for the default background
[chaz/openbox] / otk / surface.cc
index aabbf85af8bc4d9042734367f6e8d666cbc6fc06..7d7c0c53b5831607cae40699e6b1a4f537594dcb 100644 (file)
@@ -1,8 +1,6 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
-#ifdef    HAVE_CONFIG_H
-#  include "../config.h"
-#endif // HAVE_CONFIG_H
+#include "config.h"
 
 #include "surface.hh"
 #include "display.hh"
@@ -39,8 +37,8 @@ void Surface::setPixmap(const RenderColor &color)
 
 void Surface::setPixmap(XImage *image)
 {
-  assert((unsigned)image->width == _size.width());
-  assert((unsigned)image->height == _size.height());
+  assert(image->width == _size.width());
+  assert(image->height == _size.height());
   
   if (_pixmap == None)
     createObjects();
This page took 0.022736 seconds and 4 git commands to generate.