summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:45:57 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:45:57 -0500
commitffc737d0939c51f7883ad435b192975ad0a17c5f (patch)
treefcecc25fd860b8e45f2eac2b1099129b67577978
parent55dccdae63c27e61363e54b897c62078b3c0563e (diff)
downloadshelf-ffc737d0939c51f7883ad435b192975ad0a17c5f.tar.gz
shelf-ffc737d0939c51f7883ad435b192975ad0a17c5f.tar.bz2
Fix possible segfault on 64-bit arch. due to passing 0 to va_list and retrieving it as pointer.
-rw-r--r--shelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shelf.c b/shelf.c
index d7ab151..69f244d 100644
--- a/shelf.c
+++ b/shelf.c
@@ -566,7 +566,7 @@ handleButtonPress (CompWindow *w,
SHELF_SCREEN (s);
- if (!otherScreenGrabExist (s, "shelf", 0))
+ if (!otherScreenGrabExist (s, "shelf", NULL))
{
(*s->activateWindow) (w);
ss->grabbedWindow = w->id;