]> Dogcows Code - chaz/openbox/blobdiff - render/mask.c
Show name/class when mapping in debug mode.
[chaz/openbox] / render / mask.c
index 3144aff47f57b954dfed84e6c4f5d938636145d7..b6e3c443eaac3efa88a5c12593ed0f4d0bc82e3a 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- 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
@@ -46,8 +46,8 @@ void RrPixmapMaskFree(RrPixmapMask *m)
 
 void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area)
 {
-    int x, y;
-    if (m->mask == None) return; /* no mask given */
+    gint x, y;
+    if (m->mask == NULL) return; /* no mask given */
 
     /* set the clip region */
     x = area->x + (area->width - m->mask->width) / 2;
This page took 0.02573 seconds and 4 git commands to generate.