diff options
author | Karoly Lorentey <[email protected]> | 2006-04-01 16:11:29 +0000 |
---|---|---|
committer | Karoly Lorentey <[email protected]> | 2006-04-01 16:11:29 +0000 |
commit | ce593f6e6b85e58206264cad983c796ce8dd41a2 (patch) | |
tree | 3596abcaa0164629aec976947c1507924fd0e44b /README.multi-tty | |
parent | b97a79c4f5c17abca8cb66e52927d524c5e1ef62 (diff) |
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: [email protected]/emacs--multi-tty--0--patch-544
Diffstat (limited to 'README.multi-tty')
-rw-r--r-- | README.multi-tty | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/README.multi-tty b/README.multi-tty index f3061c921d..801bc57753 100644 --- a/README.multi-tty +++ b/README.multi-tty @@ -404,8 +404,11 @@ is probably not very interesting for anyone else.) 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 @@ THINGS TO DO 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 @@ DIARY OF CHANGES (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 |