[PATCH] remove borders on maximized windows

Lucas Murray lmurray at undefinedfire.com
Fri Sep 18 03:11:32 CEST 2009


On Fri, Sep 18, 2009 at 2:31 AM, Marco Martin <notmart at gmail.com> wrote:
> 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..

This is not the correct way to go about it. You will want to use
fullscreen windows and not maximisation. No point hacking maximisation
to act identical to an already-existing functionality.

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

This is probably better.

> 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)

KWin already has a "maximizing" placement algorithm. It can be enabled
in System Settings -> Window Behavior -> Advanced -> Placement.

-- 

Lucas Murray :: http://www.undefinedfire.com
GPG Fingerprint: 0B88 499E 3F5B 1405 D952  258A AD90 B4F5 90B6 3534


More information about the Plasma-devel mailing list