sowm: simpler button release

This commit is contained in:
Dylan Araps 2019-10-19 08:17:17 +03:00
parent 5c075a359a
commit 84119dd331
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 3 deletions

4
sowm.c
View File

@ -122,9 +122,7 @@ void button_press(XEvent *e) {
}
void button_release() {
for win if (c->w == mouse.subwindow) c->f = 0;
mouse.subwindow = 0;
cur->f = mouse.subwindow = 0;
}
void win_add(Window w) {