Re: delete event handling



On 28 Jan 2000, Havoc Pennington wrote:

> 
> This is a change for 1.4 discussed with Owen; basically it drops
> delete_event if there's a grab held by a widget other than the window
> receiving the delete_event. The patch lacks get_arg()/set_arg()
> support, it would need that before commit.

i'm not sure i want that at this point. the way grabs are acquired in
gtk and gdk is hopefully going to change drastically in 1.3, and during
that move, ignoring delete events for grabbed-away windows will probably
become default behaviour anyways.

apart from that, your patch will segfault any gtk application if a
delete event is synthesized for a non-toplevel widget.

---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]