[clfswm-devel] Tr: [Patch] Disabling maximized window borders

Philippe Brochard pbrochard at common-lisp.net
Mon Jun 13 20:50:12 UTC 2011


> Sylvain HENRY writes:
>
> Hi,
>
Hi,

> Attached is a small patch to add an option to disable window's border
> when "no-layout" or "maximize-layout" is used. This way, fullscreen
> videos don't have a nasty border. :)
>
> I think it may be further enhanced to remove borders in tiled layouts
> when there is only one window in a frame.
>
A more simple solution to this if you don't like the border around (not
so) maximized windows is to 'enter' in them with 'control+up' and then
'Alt+Enter' to maximize them.

Another permanent solution is to add this in your .clfswmrc. But you
loose a visual information about the current child:

--------------------------------------------------
(defun get-fullscreen-size ()
  "Return the size of root child (values rx ry rw rh)
You can tweak this to what you want"
  (values (- (* *border-size* 2))
          (- (* *border-size* 2))
          (+ (xlib:screen-width *screen*) (* *border-size* 2))
          (+ (xlib:screen-height *screen*) (* *border-size* 2))))
--------------------------------------------------

This tells to define the fullscreen size outside the current child
border. 
 
Regards,

Philippe




More information about the clfswm-devel mailing list