[clfswm-devel] Frame: odd behavior ?

Xavier Maillard xma at gnu.org
Tue Apr 8 00:00:02 UTC 2008


   > Maybe I am dumb, maybe I misunderstood something _but_ I can't
   > find how to have multiple frames In full screen mode.
   >
   > Can somebody explain exactly what a frame is now in the CLFSWM
   > terminology ?
   >
   A frame is a geometrical group which can contain some other frames or
   some application windows.
   The current root frame is fullscreen maximized.

So when CLFSWM is starting, it has two frames: 0 => root and 1 =>
default. Right ? If so, why not stick with the root frame by
default ?

Well I tried that it throws an error when I want to create a
frame :

DEBUG[2 - dbg]  *ROOT-FRAME*=#<CLFSWM::FRAME #x204A843E>   
DEBUG[3 - dbg]  *CURRENT-CHILD*=NIL   
DEBUG[4 - dbg]  *CURRENT-ROOT*=#<CLFSWM::FRAME #x204A843E>   

*** - NO-APPLICABLE-METHOD: When calling #<STANDARD-GENERIC-FUNCTION CLFSWM::SELECT-CHILD> with arguments (NIL NIL), no method is
      applicable.
The following restarts are available:
RETRY          :R1      try calling CLFSWM::SELECT-CHILD again
RETURN         :R2      specify return values

I should probably have removed the setf *current-child*.

Let's try that. Ok I understand why it fails.

See enclosed in another post, a patch that could remedy the
confusion introduced by creating 2 empty frames on startup.

   So if you want to have multiple frames in full screen mode, create the
   frames you want to be fullscreened in the same father (they'll act as
   workspace in the  0801 version) and place your children in them
   (windows or frames).

In fact, yes and no.


   The new keybinding is:

   Alt-Left/Right: circulate throw brothers (ie throw workspaces in 0801)

What do you call brothers ? It seems they are simply "clients" of
the same level. Right ?

   Alt-Enter: Enter in a frame -> make it the current root and fullscreen
   it.

Considering this new (?) binding, I can force a frame to be
fullscreen without having to do what you have mentionned above,
right ?

   Alt-Shift-Enter: Leave the current child -> make its father the
   current root.

Ok.

   Alt+Up/Down: select the next/previous level.

Ok.

   In fact, if you stay in the starting root frame, you have the same
   behaviour than in the 0801 version by creating frames in it.
   The only new thing is that you're not restricted to the starting root
   frame: you can create workspaces at any level.

Yes, it is pretty cool even if I do not see any use of it
currently :)

   > What is a frame exactly ?
   >
   I've put a little video to see how I use clfswm now. Here:

     http://hocwp.free.fr/temp/record-frame.ogv

Thank you, it helped a lot.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org



More information about the clfswm-devel mailing list