After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586600 - metacity fullscreens all windows that take all the screen
metacity fullscreens all windows that take all the screen
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2009-06-22 08:08 UTC by Tomeu Vizoso
Modified: 2009-07-06 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add a command line switch (4.49 KB, patch)
2009-06-22 08:09 UTC, Tomeu Vizoso
committed Details | Review

Description Tomeu Vizoso 2009-06-22 08:08:21 UTC
In Sugar, windows of Sugar-specific applications take all the screen and have no decorations.

We would like to use Metacity instead of Matchbox so regular non-Sugar applications run as well as possible inside the Sugar shell.

The problem is that Metacity is automatically fullscreen'ing all windows whose size equals the screen area:

http://git.gnome.org/cgit/metacity/tree/src/core/constraints.c#n424

This is a problem because when a window is fullscreen'ed, the application can adapt the UI to that mode (by hiding or shrinking the toolbar, for example) and because DOCK windows won't appear on top.

I'm attaching a patch that adds a command line switch to disable this behavior, but any other suggestion will be most welcome.
Comment 1 Tomeu Vizoso 2009-06-22 08:09:04 UTC
Created attachment 137156 [details] [review]
add a command line switch
Comment 2 Thomas Thurman 2009-07-06 12:04:24 UTC
Looks good to me, as far as it goes; I've committed it.  Did you want a gconf setting as well?
Comment 3 Tomeu Vizoso 2009-07-06 12:58:49 UTC
Nope, the command line switch is our best option. Thanks!