Mercurial > emacs
diff README.multi-tty @ 83504:7aa43f830ce4
Fix tooltip border color.
* src/xterm.h (x_output): Remove background_pixel and foreground_pixel
fields.
* src/widget.c (update_from_various_frame_slots): Use
FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
* src/xfns.c (x_set_foreground_color): Ditto.
* src/xfns.c (x_set_background_color): Ditto.
* src/xfns.c (x_set_mouse_color): Ditto.
* src/xfns.c (x_set_cursor_color): Ditto.
* src/xfns.c (x_make_gc): Ditto.
* src/xfns.c (Fx_create_frame): Ditto.
* src/xfns.c (x_create_tip_frame): Ditto.
* src/xfns.c (build_string): Ditto.
* src/xterm.c (XTflash): Ditto.
* src/xterm.c (x_free_frame_resources): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-544
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 01 Apr 2006 16:11:29 +0000 |
parents | 0fe580113f72 |
children | f714f11da40a |
line wrap: on
line diff
--- a/README.multi-tty Sat Apr 01 13:36:08 2006 +0000 +++ b/README.multi-tty Sat Apr 01 16:11:29 2006 +0000 @@ -404,8 +404,11 @@ THINGS TO DO ------------ -** emacsclient -t on the console does not work after su: +** emacsclient -t on the console does not work after su. You have to + use non-root accounts or start as root to see this. + Login: root + Password: # su lorentey $ emacsclient -t *ERROR*: Could not open file: /dev/tty1 @@ -415,6 +418,12 @@ bring back the ugly pty proxy hack from the initial versions of multi-tty. Suggestions would be appreciated. + Update: we could change emacsclient to pass its open file + descriptor to the Emacs process. Unfortunately, this requires a + new Lisp-level Emacs API, and as file descriptors are not otherwise + exported to Lisp, this approach seems at least as ugly as the pty + proxy idea. + ** Understand how `quit_throw_to_read_char' works, and fix any bugs that come to light. @@ -1494,5 +1503,19 @@ (Done in patch-539.) +-- The borders on tooltip frames on X are messed up. More + specifically, the frame's internal border (internal-border-width + frame parameter) is not filled with the correct background color. + + It seems the border contents are drawn onto by the + update_single_window call in `x-show-tip'. After some debugging, I + think the window's background color is not set up + correctly---calling `x_clear_area' fills the specified area with + black, not light yellow. + + (Done in patch-544. A background_pixel field was defined both in + struct frame and struct x_output, and Emacs got confused between + them.) + ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d