GNU bug report logs - #9033
24.0.50; background not set correctly when using default-frame-alist

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Sat, 9 Jul 2011 12:29:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 9033 <at> debbugs.gnu.org
Subject: bug#9033: 24.0.50; background not set correctly when using default-frame-alist
Date: Fri, 15 Jul 2011 10:43:23 +0200
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<jan.h.d <at> swipnet.se>  writes:
>
>> Hi.
>>
>> Does removing Emacs.alpha from your X resources make any difference?
> No, it is the same.
>




This bug report was last modified 13 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.