Re: autofullscreen maximized windows with no decorations



Tomeu,

You can achieve what you're trying to achieve using a Mutter plugin.

(If you're running Mutter rather than Metacity).

--d

On Fri, 2009-06-19 at 17:32 +0200, Tomeu Vizoso wrote:
> Hi all,
> 
> we wish to use Metacity as the default window manager in Sugar and
> have found a problem that is not clear how to solve.
> 
> The lines in the link below will fullscreen all windows that have no
> decorations and are maximized:
> 
> http://git.gnome.org/cgit/metacity/tree/src/core/constraints.c#n424
> 
> In Sugar's case, most windows will be maximized and won't have
> decorations, but we don't want them to be put automatically in
> fullscreen mode because in fullscreen mode Sugar activities display a
> different UI (the toolbar on the top is hidden and the canvas fills
> the whole screen).
> 
> Also, we have a panel/dock that slides into the screen and should also
> appear over maximized windows.
> 
> I will appreciate any feedback about what can we do here and, as a
> proof of concept, I'm attaching a patch that adds a CLI switch for
> disabling automatic fullscreening.
> 
> I can also open a ticket if you think this can be considered as a
> valid bug or feature request.
> 
> Thanks,
> 
> Tomeu
> _______________________________________________
> metacity-devel-list mailing list
> metacity-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/metacity-devel-list
-- 
Davyd Madeley

http://www.davyd.id.au/
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]