parent
a13da9ae85
commit
f6f38ea7d5
|
@ -447,7 +447,10 @@ EventAclass(XEvent * ev, EWin * ewin, ActionClass * a)
|
||||||
mouse = 1;
|
mouse = 1;
|
||||||
break;
|
break;
|
||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
if (ev->xcrossing.detail == NotifyNonlinearVirtual)
|
/* If frame window, quit if pointer is still inside */
|
||||||
|
if (ewin && ev->xcrossing.window == ewin->win &&
|
||||||
|
(ev->xcrossing.x >= 0 && ev->xcrossing.x < ewin->w &&
|
||||||
|
ev->xcrossing.y >= 0 && ev->xcrossing.y < ewin->h))
|
||||||
EDBUG_RETURN(0);
|
EDBUG_RETURN(0);
|
||||||
type = EVENT_MOUSE_LEAVE;
|
type = EVENT_MOUSE_LEAVE;
|
||||||
button = -1;
|
button = -1;
|
||||||
|
|
|
@ -2272,6 +2272,8 @@ FreeBorder(Border * b)
|
||||||
Efree(b->name);
|
Efree(b->name);
|
||||||
if (b->group_border_name)
|
if (b->group_border_name)
|
||||||
Efree(b->group_border_name);
|
Efree(b->group_border_name);
|
||||||
|
if (b->aclass)
|
||||||
|
b->aclass->ref_count--;
|
||||||
|
|
||||||
EDBUG_RETURN_;
|
EDBUG_RETURN_;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue