Unexpected (at least to me) kevent behavior on window size change when in X

Slawa Olhovchenkov slw at zxy.spb.ru
Sat Jan 23 22:00:18 UTC 2016


On Sat, Jan 23, 2016 at 10:57:36PM +0100, Ivan Radovanovic wrote:

> On 01/23/2016 22:52, Slawa Olhovchenkov wrote:
> > On Sat, Jan 23, 2016 at 10:43:32PM +0100, Ivan Radovanovic wrote:
> >
> >> On 01/23/2016 22:17, Ivan Radovanovic wrote:
> >>>
> >>> The only thing which is out of ordinary is that I am doing this from
> >>> mono, but still I am directly invoking libc functions from it, so I
> >>> don't think it can have anything with it.
> >>>
> >>
> >> Definitely it is something mono specific (I would still love to hear if
> >> somebody has idea what might cause it) - I just wrote little C program
> >> to test for same thing and everything works as expected.
> >
> > May be this is mono mapping EINTR to 0?
> >
> 
> I thought something similar, but wouldn't then C also report EINTR on 
> resize (and there is nothing coming through in C program, it just 
> normally waits for FS event)?

man signal

     28    SIGWINCH     discard signal       Window size change


More information about the freebsd-hackers mailing list