mirror of
https://github.com/0intro/wmii
synced 2024-11-25 23:30:24 +03:00
allow destroying columns through mousemoving
This commit is contained in:
parent
dade08e735
commit
72cc53d2b9
@ -300,9 +300,6 @@ drop_moving(Frame *f, XRectangle *new, XPoint *pt)
|
||||
View *v = src->view;
|
||||
unsigned int i;
|
||||
|
||||
if(!pt || src->frame.size < 2)
|
||||
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…
Reference in New Issue
Block a user