summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguillaume <guillaume>2007-01-29 01:44:07 +0000
committerguillaume <guillaume>2007-01-29 01:44:07 +0000
commit11c5d45357ed3d2e7354defb25a9962a706ea784 (patch)
tree77e70994c71915dd029ca73115c815773f45eb0a
parent45fcf2af9b090bf256c06c1643c2a388a0867c04 (diff)
downloadberyl-desktop-manager-11c5d45357ed3d2e7354defb25a9962a706ea784.tar.gz
beryl-desktop-manager-11c5d45357ed3d2e7354defb25a9962a706ea784.tar.bz2
bdm: Add license header, fix background render
-rw-r--r--src/bdm.c28
1 files changed, 21 insertions, 7 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 7a24974..244d1a8 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -1,9 +1,23 @@
/*
-* Copyright: Robert Carr < racarr@beryl-project.org > GPLv2 and all that other stuff will add a real license in a bit
-* Authors: Robert Carr <racarr@beryl-project.org>
-* Guillaume Seguin <ixce@beryl-project.org>
-* Quinn Storm <quinn@beryl-project.org>
-*/
+ * Copyright: Robert Carr <racarr@beryl-project.org >
+ * Authors: Robert Carr <racarr@beryl-project.org>
+ * Guillaume Seguin <ixce@beryl-project.org>
+ * Quinn Storm <quinn@beryl-project.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
#include <string.h>
#include <gtk/gtk.h>
@@ -25,8 +39,8 @@
static void renderImage(cairo_t * cr, BDMImage * image, ScreenArea * area)
{
- cairo_set_source_rgba(cr,0,0,0,0);
- cairo_paint(cr);
+// cairo_set_source_rgba(cr,0,0,0,0);
+// cairo_paint(cr);
cairo_save(cr);
gdk_cairo_set_source_pixbuf(cr,image->pixbuf,0,0);