[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't start Emacs on a monochrome display

From: Kenichi Handa
Subject: Re: Can't start Emacs on a monochrome display
Date: Wed, 30 Jul 2003 22:17:50 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Kenichi Handa <address@hidden> writes:
> With the latest CVS HEAD, I can't start Emacs on a
> monochrome display.

> Starting program: /usr/local/work/emacs-head/src/emacs -display etlken:0.0

> Breakpoint 2, x_error_quitter (display=0x84f99f8, error=0xbfffdc6c)
>     at xterm.c:7829
> (gdb) n
> (gdb) n
> (gdb) p buf1
> $6 = "X protocol error: BadPixmap (invalid Pixmap parameter) on protocol 
> request 54", '\0' <repeats 143 times>"...
> (gdb) up 5
> #5  0x080b9e2b in x_defined_color (f=0x840f4a0, color_name=0x84e1a00 "white", 
>     color=0xbfffde20, alloc_p=1) at xfns.c:1028

I tracked this problem down to this change:

2003-07-13  Terje Rosten  <address@hidden>

        * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask,
        and use the Gtk+ function gtk_window_icon_from_file if available.

        * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to
        handle mask of bitmaps.
        (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the
        mask property.
        (xg_set_icon): New function, wrapper for gtk_window_icon_from_file.

        * xterm.h (xg_set_icon): New function.

When I cancel this change, Emacs starts up correctly on a
monochrome display.

Terje, don't you have any idea about what is wrong?

Ken'ichi HANDA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]