Skip to content

Commit

Permalink
Use correct coordinates when calculate sensitivity area for autohide.
Browse files Browse the repository at this point in the history
  • Loading branch information
LStranger committed Sep 21, 2014
1 parent 5cc945e commit c6c6d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c6c6d2e

Please sign in to comment.