aewl

diff event.c @ 6:e0cefb3981c8

implemented pipe_spawn
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 11:10:05 +0200
parents e5018cae273f
children d567f430a81d
line diff
     1.1 --- a/event.c	Mon Jul 10 22:16:48 2006 +0200
     1.2 +++ b/event.c	Tue Jul 11 11:10:05 2006 +0200
     1.3 @@ -218,7 +218,6 @@
     1.4  static void
     1.5  maprequest(XEvent *e)
     1.6  {
     1.7 -#if 0
     1.8  	XMapRequestEvent *ev = &e->xmaprequest;
     1.9  	static XWindowAttributes wa;
    1.10  
    1.11 @@ -231,9 +230,8 @@
    1.12  		return;
    1.13  	}
    1.14  
    1.15 -	if(!client_of_win(ev->window))
    1.16 -		manage_client(create_client(ev->window, &wa));
    1.17 -#endif
    1.18 +	/*if(!client_of_win(ev->window))*/
    1.19 +		manage(create_client(ev->window, &wa));
    1.20  }
    1.21  
    1.22  static void