[PATCH] remove borders on maximized windows

Marco Martin notmart at gmail.com
Thu Sep 17 20:31:15 CEST 2009


hi all,
one of the things we need for the plasma netbook shell is to have windows  
fullscreen most of the time, so be maximized and without borders (title and 
controls to unmaximize and close are directly into the panel) but keeping the 
possibility to have not maximized windows with normal borders as usual.
a while ago talking with martin we had the idea to use decoration, directly in 
kdecoration, so here it is..

anoter idea could be modifying window rules to match also geometry, maximized 
state etc..

another thing we need is to start windows always maximized, for that using a 
rule could be a good idea, however a problem is that we should maximize only 
windows with a decoration, because plasma popups are of window type (not 
dialog, yeah, bad, but kinda needed for drag and drop of extenders)

so it could work better to put it in kdecoration too, maybe to be packed with 
the option of this patch under the name SmallScreenBehaviour config option or 
something like that?

Cheers, 
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nobordermaximize.diff
Type: text/x-patch
Size: 2835 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090917/2eb1ecfa/attachment.diff 


More information about the Plasma-devel mailing list