Subject: Re: bug#9033: 24.0.50; background not set correctly when using default-frame-alist

From: Thierry Volpiatto <[email-masked]>
Date: Sun, 17 Jul 2011 06:26:49 +0200

Jan Djärv <[email-masked]> writes:

> Thierry Volpiatto skrev 2011-07-16 17.58:
>> Hi Jan, sorry for late reply.
>> No, unfortunately you patch change nothing. :-(
>>
>
> Hmm, then I think your graphic card driver is broken.
In this case it wouln't work in emacs23 too no?
But in emacs23 this doesn't happen.
And also on my desktop PC here it does the same.
(Same settings though)

> Can you start X using the SVGA driver or start Xephyr and run the test
> case in there?
No idea how to do that, i will google around and tell you if possible.

> 	Jan D.
>
>> Jan Djärv<[email-masked]>  writes:
>>
>>> Hi.
>>>
>>> Does this patch do anything:
>>>
>>> === modified file 'src/xterm.c'
>>> --- src/xterm.c	2011-06-24 21:25:22 +0000
>>> +++ src/xterm.c	2011-07-15 08:38:43 +0000
>>> @@ -6096,12 +6096,18 @@
>>>         if (f)
>>>           {
>>>   #ifdef USE_GTK
>>> +          GC gc = f->output_data.x->normal_gc;
>>> +          unsigned long mask = GCBackground;
>>>             /* This seems to be needed for GTK 2.6.  */
>>>             x_clear_area (event.xexpose.display,
>>>                           event.xexpose.window,
>>>                           event.xexpose.x, event.xexpose.y,
>>>                           event.xexpose.width, event.xexpose.height,
>>>                           FALSE);
>>> +
>>> +          XFillRectangle (event.xexpose.display, event.xexpose.window, gc,
>>> +                          event.xexpose.x, event.xexpose.y,
>>> +                          event.xexpose.width, event.xexpose.height);
>>>   #endif
>>>             if (f->async_visible == 0)
>>>               {
>>>
>>>
>>>
>>> 	Jan D.
>>>
>>>
>>> Thierry Volpiatto skrev 2011-07-12 11.40:
>>>> Jan Djärv<[email-masked]>   writes:
>>>>
>>>>> Hi.
>>>>>
>>>>> Does removing Emacs.alpha from your X resources make any difference?
>>>> No, it is the same.
>>>>
>>

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997