X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fmask.c;h=10ce8d0f0e14ebcbb01db942773952c5c6a64cb6;hb=e5d6a552a46bce27cbe25c92023094b44c9a8284;hp=d1659ffbb74cba66dec1f8419e9cd4ae5067f960;hpb=d634731fcac81a33e3eb5a5102e926a3c9de953e;p=chaz%2Fopenbox diff --git a/render/mask.c b/render/mask.c index d1659ffb..10ce8d0f 100644 --- a/render/mask.c +++ b/render/mask.c @@ -1,3 +1,22 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + mask.c for the Openbox window manager + Copyright (c) 2003-2007 Dana Jansens + Copyright (c) 2003 Derek Foreman + + 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. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #include "render.h" #include "color.h" #include "mask.h" @@ -27,7 +46,7 @@ void RrPixmapMaskFree(RrPixmapMask *m) void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area) { - int x, y; + gint x, y; if (m->mask == None) return; /* no mask given */ /* set the clip region */