Merge pull request #106 from otommod/click-fix

Fix #105
This commit is contained in:
Giuseppe 2015-02-27 15:53:19 +01:00
commit 75dbf3397e

7
bar.c
View File

@ -340,9 +340,10 @@ area_shift (xcb_window_t win, const int align, int delta)
delta /= 2; delta /= 2;
for (int i = 0; i < astack.pos; i++) { for (int i = 0; i < astack.pos; i++) {
if (astack.slot[i].window == win && astack.slot[i].align == align) { area_t *a = &astack.slot[i];
astack.slot[i].begin -= delta; if (a->window == win && a->align == align && !a->active) {
astack.slot[i].end -= delta; a->begin -= delta;
a->end -= delta;
} }
} }
} }