mirror of
https://github.com/0intro/wmii
synced 2025-02-08 02:14:48 +03:00
fixes the wmiirc rerun issue reported by Neptun (I threw away a little too much a couple of patches ago, sorry...)
This commit is contained in:
parent
24127f40f7
commit
f96eb8db99
@ -300,6 +300,9 @@ drop_moving(Frame *f, XRectangle *new, XPoint *pt)
|
||||
View *v = src->view;
|
||||
unsigned int i;
|
||||
|
||||
if(!pt)
|
||||
return;
|
||||
|
||||
for(i = 1; (i < v->area.size) &&
|
||||
!blitz_ispointinrect(pt->x, pt->y, &v->area.data[i]->rect); i++);
|
||||
if((tgt = ((i < v->area.size) ? v->area.data[i] : nil))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user