[clfswm-devel] [PATCH] Do not create another empty frame on startup.

Philippe Brochard pbrochard at common-lisp.net
Tue Apr 8 22:47:08 UTC 2008


Xavier Maillard writes:

> With current code, it may confuse users to have two empty frames on
> startup.
>
> This patch just remove the creation of the "default" frame of id 1.
>
There is no two empty frames on startup.
There is the root frame which contain a default frame.
See my previous post about the correspondence with standard window
manager.

The root frame is like the pager. The default frame is like a default
workspace.

You have to think about clfswm as if it is a tree.


        	            Root Frame 0
  			         |
  	       	   ---------------------------.....
  	    	   |	         |	    |
  	    	   v	         v	    v
         Default Frame 1   Frame 2	  Frame 3 ....
  		   |	       	       	    |
  	     -------------     		    v
  	     |		 |     		  Application 2
  	     v		 v
  Application 1    Frame 4
  			 |
  		  -------------
  	          |           |
  		  v  	      v
  		App 3	    Frame 5
  	       	 .     	      .
  		 .	      .
  		 .	      .

The root frame is the mother of all other frames and applications
windows.
The only thing you can do with the root frame is to append children in
its child list.


I know, it's a little confusing at first time, but I think that once
you get it you can do some wonderful things with it.
At least it is what I was looking for a long time.


[...]


-- 
Philippe Brochard    <pbrochard at common-lisp.net>
                      http://hocwp.free.fr




More information about the clfswm-devel mailing list