Use correct coordinates when calculate sensitivity area for autohide.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 21 Sep 2014 00:37:31 +0000 (03:37 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 21 Sep 2014 00:37:31 +0000 (03:37 +0300)
src/panel.c

index 6a05e2a..57488b3 100644 (file)
@@ -693,8 +693,8 @@ mouse_watch(LXPanel *panel)
 
     cx = p->cx;
     cy = p->cy;
-    cw = p->aw;
-    ch = p->ah;
+    cw = p->cw;
+    ch = p->ch;
 
     /* reduce area which will raise panel so it does not interfere with apps */
     if (p->ah_state == AH_STATE_HIDDEN) {