[Xmonad] darcs patch: we cannot change GContext of decfor with a
droundy at darcs.net
Mon Jun 11 09:49:38 EDT 2007
On Mon, Jun 11, 2007 at 02:00:52PM +0200, Andrea Rossato wrote:
> here's a fix for the problem with Tabbed.hs and BadGC/BadDrawable errors. As
> I said I'm just learning all this X programming so take it as a bug report!
> Thanks for your kind attention.
This is definitely not a proper fix (as you say), but it may highlight the
issue. The problem is that it does this simply by turning off a feature,
which is the redrawing of the tabs when the title of the window changes.
I don't quite buy your explanation of this error--but I'm only about 24
hours ahead of you in my knowledge of X and GContext, so I'm stumped also.
I can verify that your patch does remove the error messages, but I just
don't understand why there is an error here.
> Mon Jun 11 13:50:49 CEST 2007 Andrea Rossato <andrea.rossato at unibz.it>
> * we cannot change GContext of decfor with a function that uses the GContext of window created for the tab
> Tabbed.hs creates errors:
> xmonad: fatal error: request code=60, error code=13
> Error: BadGC (invalid GC parameter)
> This patch should be a work around for the problem. Still, when XMonad is
> restarted the messages are still there (correct behaviour?)
> hunk ./Decoration.hs 37
> - | thisw == decfor && t == propertyNotify = draw'
> + | thisw == decfor && t == propertyNotify = return ()
More information about the Xmonad