Trick to make Wesnoth work with Composite

General feedback and discussion of the game.

Moderators: Forum Moderators, Developers

Post Reply
Doros
Posts: 78
Joined: October 13th, 2004, 4:02 am
Location: USA

Trick to make Wesnoth work with Composite

Post by Doros »

I know a few users have had issues with this, and I didn't see any solutions posted, so I thought I'd share my success. I wasn't sure exactly which forum to post this under, as I'm not asking for technical support.

SDL applications currently don't display currectly when using a Composite manager (I think shadows, specifically, cause trouble). Some games are translucent, and some games (like Wesnoth) show through in certain places. To fix this, all you have to do is run Wesnoth with the environment variable XLIB_SKIP_ARGB_VISUALS set to 1. Basically, go to a console and do:

Code: Select all

XLIB_SKIP_ARGB_VISUALS=1 wesnoth
I've tried this with other SDL games and it seems to work. I don't know what this actually does, but I haven't noticed any side effects so far.
Post Reply