From 67baca6f7d8a1556ee40c5d1b00375b496394ca0 Mon Sep 17 00:00:00 2001
Date: Thu, 29 Sep 2011 19:49:07 +0300
Subject: [PATCH 1/4] taskbar.c: Prevent uninitialized use of x, y


---
 src/taskbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/taskbar.c b/src/taskbar.c
index 3a835d4..3fe39c9 100644
--- a/src/taskbar.c
+++ b/src/taskbar.c
@@ -300,7 +300,7 @@ void ShowTaskWindowMenu(TaskBarType *bar, Node *np) {
 
    GetWindowMenuSize(np->client, &mwidth, &mheight);
 
-   sp = GetCurrentScreen(x, y);
+   sp = GetCurrentScreen(bar->cp->screenx, bar->cp->screeny);
 
    if(bar->layout == LAYOUT_HORIZONTAL) {
       GetMousePosition(&x, &y);
-- 
1.7.2.1

