[sugar] Experiments with Metacity
Marco Pesenti Gritti
mpgritti at gmail.com
Mon May 19 06:22:54 EDT 2008
/* Workaround braindead legacy apps that don't know how to
* fullscreen themselves properly.
*/
if (meta_rectangle_equal (new, &xinerama_info->rect) &&
window->has_fullscreen_func &&
!window->fullscreen)
{
/*
meta_topic (META_DEBUG_GEOMETRY,
*/
meta_warning (
"Treating resize request of legacy application %s as a "
"fullscreen request\n",
window->desc);
meta_window_make_fullscreen_internal (window);
}
I'm not sure what's the proper way to address this. While prototyping
this you could just apply a patch to get rid of it, then we figure out
the best way to upstream it..
Marco
On Mon, May 19, 2008 at 12:12 PM, Sayamindu Dasgupta
<sayamindu at gmail.com> wrote:
> On Mon, May 19, 2008 at 3:35 PM, Marco Pesenti Gritti
> <mpgritti at gmail.com> wrote:
>> On Mon, May 19, 2008 at 12:00 PM, Sayamindu Dasgupta
>> <sayamindu at gmail.com> wrote:
>>> I tried to do that (maximize() and then set_decorated(False)). As soon
>>> as I set the window to undecorated, it seems to assume fullscreen
>>> properties (with the full screen icon popping up on the top right). Is
>>> there any convention which signifies maximized + undecorated =
>>> fullscreen ?
>>
>> That's really weird... I wonder if metacity is doing some hacks there...
>>
>> Marco
>>
>
> I get the following message in the background:
>
> Window manager warning: Treating resize request of legacy application
> 0x800003 (Journal) as a fullscreen request
>
> Any ideas ?
> Cheers,
> Sayamindu
>
>
>
> --
> Sayamindu Dasgupta
> [http://sayamindu.randomink.org/ramblings]
>
More information about the Sugar
mailing list