/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
mask.c for the Openbox window manager
- Copyright (c) 2003 Ben Jansens
+ Copyright (c) 2003-2007 Dana Jansens
Copyright (c) 2003 Derek Foreman
This program is free software; you can redistribute it and/or modify
void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area)
{
gint x, y;
- if (m->mask == None) return; /* no mask given */
+ if (m->mask == NULL) return; /* no mask given */
/* set the clip region */
x = area->x + (area->width - m->mask->width) / 2;