diff options
| author | Karoly Lorentey | 2006-04-01 16:11:29 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 16:11:29 +0000 |
| commit | ce593f6e6b85e58206264cad983c796ce8dd41a2 (patch) | |
| tree | 3596abcaa0164629aec976947c1507924fd0e44b /README.multi-tty | |
| parent | b97a79c4f5c17abca8cb66e52927d524c5e1ef62 (diff) | |
| download | emacs-ce593f6e6b85e58206264cad983c796ce8dd41a2.tar.gz emacs-ce593f6e6b85e58206264cad983c796ce8dd41a2.zip | |
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
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 f3061c921d0..801bc577533 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -404,8 +404,11 @@ is probably not very interesting for anyone else.) | |||
| 404 | THINGS TO DO | 404 | THINGS TO DO |
| 405 | ------------ | 405 | ------------ |
| 406 | 406 | ||
| 407 | ** emacsclient -t on the console does not work after su: | 407 | ** emacsclient -t on the console does not work after su. You have to |
| 408 | use non-root accounts or start as root to see this. | ||
| 408 | 409 | ||
| 410 | Login: root | ||
| 411 | Password: | ||
| 409 | # su lorentey | 412 | # su lorentey |
| 410 | $ emacsclient -t | 413 | $ emacsclient -t |
| 411 | *ERROR*: Could not open file: /dev/tty1 | 414 | *ERROR*: Could not open file: /dev/tty1 |
| @@ -415,6 +418,12 @@ THINGS TO DO | |||
| 415 | bring back the ugly pty proxy hack from the initial versions of | 418 | bring back the ugly pty proxy hack from the initial versions of |
| 416 | multi-tty. Suggestions would be appreciated. | 419 | multi-tty. Suggestions would be appreciated. |
| 417 | 420 | ||
| 421 | Update: we could change emacsclient to pass its open file | ||
| 422 | descriptor to the Emacs process. Unfortunately, this requires a | ||
| 423 | new Lisp-level Emacs API, and as file descriptors are not otherwise | ||
| 424 | exported to Lisp, this approach seems at least as ugly as the pty | ||
| 425 | proxy idea. | ||
| 426 | |||
| 418 | ** Understand how `quit_throw_to_read_char' works, and fix any bugs | 427 | ** Understand how `quit_throw_to_read_char' works, and fix any bugs |
| 419 | that come to light. | 428 | that come to light. |
| 420 | 429 | ||
| @@ -1494,5 +1503,19 @@ DIARY OF CHANGES | |||
| 1494 | 1503 | ||
| 1495 | (Done in patch-539.) | 1504 | (Done in patch-539.) |
| 1496 | 1505 | ||
| 1506 | -- The borders on tooltip frames on X are messed up. More | ||
| 1507 | specifically, the frame's internal border (internal-border-width | ||
| 1508 | frame parameter) is not filled with the correct background color. | ||
| 1509 | |||
| 1510 | It seems the border contents are drawn onto by the | ||
| 1511 | update_single_window call in `x-show-tip'. After some debugging, I | ||
| 1512 | think the window's background color is not set up | ||
| 1513 | correctly---calling `x_clear_area' fills the specified area with | ||
| 1514 | black, not light yellow. | ||
| 1515 | |||
| 1516 | (Done in patch-544. A background_pixel field was defined both in | ||
| 1517 | struct frame and struct x_output, and Emacs got confused between | ||
| 1518 | them.) | ||
| 1519 | |||
| 1497 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d | 1520 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d |
| 1498 | 1521 | ||