Re: C Function to print window's pid



On Wednesday 04 November 2009 14:24:06 Teika Kazura wrote:
> It works for live windows, but if you call it from error_handler() in
> display.c, it segfaults at the call of Fget_x_property,

Error handlers basically aren't allowed to talk to the X server.  See 
XSetErrorHandler(3).  That is why there is that mess with 
emit_pending_destroys.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>


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