problem with neverwinter nights

Hello,
I have a new problem. Neverwinter nights seem to have a problem with nwn. I use
doFloat with it, and it starts correctly. But as soon as I change the active
workspace, it screws up, and looks like this:
http://jesgue.homelinux.org/other-files/xmonad-nwn.jpg
Any idea?
Thanks.
--
Jesús Guerrero

Hi, I found a solution for this one, in case anyone has the same problem.
On Sun, 15 Jun 2008 17:57:47 +0200
Jesús Guerrero
I have a new problem. Neverwinter nights seem to have a problem with nwn. I use doFloat with it, and it starts correctly. But as soon as I change the active workspace, it screws up, and looks like this:
Previously I was floating this window with doFloat. I have configured nwn.ini
to allow windowed mode as well. But it was behaving erratically, as shown in
the screenshot. Experimenting a bit I found that with doRectFloat it works, I
use a rectangle that fills the whole screen. Like this:
myManageHook = composeAll
[ className =? "nwmain" --> doRectFloat nwnComposeRect
, className =? "nwmain" --> doF (W.shift "5")
where
nwnComposeRect = W.RationalRect 0.0 0.0 1.0 1.0
One less problem.
Cheers.
--
Jesús Guerrero

On Mon, Jun 16, 2008 at 09:23:50PM +0200, Jes?s Guerrero wrote:
Hi, I found a solution for this one, in case anyone has the same problem. Good to know, thanks for posting the solution (in case I run across something similar one day).
nwnComposeRect = W.RationalRect 0.0 0.0 1.0 1.0
FWIW, you should be able to drop the ".0"s, and just say `0 0 1 1'. $ ghci ~/.xmonad/xmonad.hs GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Ok, modules loaded: Main. Prelude Main> XMonad.StackSet.RationalRect 0 0 1 1 ... RationalRect (0%1) (0%1) (1%1) (1%1) Prelude Main> :q
participants (2)
-
Devin Mullins
-
Jesús Guerrero