Lukáš Jirkovský wrote:
> Hello everyone,
> I can't find any wishlist, so I hope this is good place to propose my
> wish. It's connected with E16 and it's composite support.
> The problem is, that every time I want to run some GL app (games like
> True Combat: Elite etc.) I have to disable composite by hand, because
> otherwise that application will be transparent.
> 
> My idea is to make some settings menu, where I can put list of
> applications, with which composite cannot be used. So when I run any
> app from this list, composite will be auto-disabled.

The game window is transparent because the default override-redirect 
window opacity kicks in.
You can set the opacity of all override-redirect windows (game window, 
but also app menus, pop-ups, etc.) to 100% with:
$ eesh set compmgr.override_redirect.opacity 100
To get this propagated to existing windows it is required to restart the 
composite manager, e.g. with
$ eesh cm stop
$ eesh cm start

If you only want to disable transparency for the game window you can 
copy /usr/share/e16/config/matches.cfg to ~/.e16/matches.cfg and add the 
line:
Title Enemy*Territory Winop opacity 100:fade off:shadow off

After restarting e16 this should take effect and make your game window 
opaque (and disable fading and shadows).

If you actually do want to disable the composite manager (e.g. for 
speed) you could add a keybinding (something like "KeyDown CA e cm stop" 
in bindings.cfg. Ctrl-Alt-e should then disable the CM.

Another simple (although maybe a bit hackish) solution is to add "eesh 
cm stop" in your game startup script before starting the game.

The one thing that just can't be done (unless the feature is added) is 
to make e16 perform some arbitrary action when particular apps start :(

/Kim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to