handle.c
// we dont really care until a window configures and maps, so just watch it
we dont really care until a window configures and maps, so just watch it
we dont really care until a window configures and maps so just watch it
void handle_createnotify(XEvent *ev)
{
	reset_cache_inplay();
	if (winlist_find(windows, ev->xcreatewindow.window) < 0)
	{
		wincache *cache = allocate_clear(sizeof(wincache));
		winlist_append(windows, ev->xcreatewindow.window, cache);
	}
}
void handle_createnotify ( XEvent * ev ) { reset_cache_inplay ( ) ; if ( winlist_find ( windows , ev -> xcreatewindow . window ) < 0 ) { wincache * cache = allocate_clear ( sizeof ( wincache ) ) ; winlist_append ( windows , ev -> xcreatewindow . window , cache ) ; } }
we dont really care until a window configures and maps, so just watch it
we dont really care until a window configures and maps so just watch it