aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-14 14:59:54 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-14 14:59:54 +0000
commitb44d790dbbab8c80c238f70d7dbeef44880342cc (patch)
treecfc98eba176729f8221f55688d2d4965c70a5bf3
parent21e47238e83620f466cd5d4133feaca7b79777b2 (diff)
downloaddzen-b44d790dbbab8c80c238f70d7dbeef44880342cc.tar.gz
dzen-b44d790dbbab8c80c238f70d7dbeef44880342cc.zip
fixed small bug in ^ca()
git-svn-id: http://dzen.googlecode.com/svn/trunk@254 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ad712cd..e20a735 100644
--- a/main.c
+++ b/main.c
@@ -642,7 +642,7 @@ handle_xev(void) {
}
/* clickable areas */
- for(i=0; i<MAX_CLICKABLE_AREAS; i++) {
+ for(i=0; i<sens_areas_cnt; i++) {
if(ev.xbutton.window == dzen.title_win.win &&
ev.xbutton.button == sens_areas[i].button &&
(ev.xbutton.x >= sens_areas[i].start_x+xorig &&