[IAEP] Running regular X11 apps

Sayamindu Dasgupta sayamindu at gmail.com
Fri Jun 27 19:22:21 EDT 2008


On Sat, Jun 28, 2008 at 4:51 AM, Marco Pesenti Gritti
<mpgritti at gmail.com> wrote:
> On Fri, Jun 27, 2008 at 11:07 PM, Sayamindu Dasgupta
> <sayamindu at gmail.com> wrote:
>> What happens when you try to make activities full screen in metacity
>> (by setting the appropriate ICCCM/EWMH hints)  looks like
>> http://dev.laptop.org/~sayamindu/sugar_metacity/Captura%20de%20pantalla_1.png
>>
>> If you set
>> maximized = false, undecorated = true, you get
>> http://dev.laptop.org/~sayamindu/sugar_metacity/Captura%20de%20pantalla_1_2.png
>>
>> However, in some cases maximized = false, undecorated = true,
>> resizeable = true can make metacity assume that the application is
>> trying to become full screen (apparenly certain versions of Adobe
>> Reader and a few other apps do this), and then you get back
>> http://dev.laptop.org/~sayamindu/sugar_metacity/Captura%20de%20pantalla_1.png
>
> I'm not particularly worried about this one because I'm sure we can
> work out a way to disable this hack with the metacity guys (at runtime
> so that it can be done on stock distributions).
>
> We could even just add a single --fullscreen command line option to
> metacity which would:
>
> 1 Make all normal windows behave like maximized/undecorated
> 2 Make sure we don't trigger the fullscreen hack.
>
> Actually this is exactly what the --fullscreen option does in
> matchbox. But metacity has much better support for !normal windows.
>
> Marco
>

Yep - I was thinking of a similar approach (using an environment
variable) - but --fullscreen option seems to be better :-)
Cheers,
Sayamindu




-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]



More information about the Devel mailing list