aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorMiles Bader2007-08-13 13:51:08 +0000
committerMiles Bader2007-08-13 13:51:08 +0000
commitaaf34461ff5804e5cebe163b31e535da72e81d87 (patch)
treeb096310b459b78e437f08ac0f1f00954840a5db5 /src/xterm.c
parent61d032dfd91b811d59acd7605ac02758be97e912 (diff)
parent37cc095b6a175fb5a2fb18fa029eaf3aa3b3fa53 (diff)
downloademacs-aaf34461ff5804e5cebe163b31e535da72e81d87.tar.gz
emacs-aaf34461ff5804e5cebe163b31e535da72e81d87.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 846-851) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 88-92) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 242-244) - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-31
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 6183ffade0d..1ced63932e5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2537,9 +2537,11 @@ x_draw_image_glyph_string (s)
2537 { 2537 {
2538 /* Fill background with a stipple pattern. */ 2538 /* Fill background with a stipple pattern. */
2539 XSetFillStyle (s->display, s->gc, FillOpaqueStippled); 2539 XSetFillStyle (s->display, s->gc, FillOpaqueStippled);
2540 XSetTSOrigin (s->display, s->gc, - s->x, - s->y);
2540 XFillRectangle (s->display, pixmap, s->gc, 2541 XFillRectangle (s->display, pixmap, s->gc,
2541 0, 0, s->background_width, s->height); 2542 0, 0, s->background_width, s->height);
2542 XSetFillStyle (s->display, s->gc, FillSolid); 2543 XSetFillStyle (s->display, s->gc, FillSolid);
2544 XSetTSOrigin (s->display, s->gc, 0, 0);
2543 } 2545 }
2544 else 2546 else
2545 { 2547 {
@@ -6711,7 +6713,7 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
6711 6713
6712 /* Window will be selected only when it is not selected now and 6714 /* Window will be selected only when it is not selected now and
6713 last mouse movement event was not in it. Minibuffer window 6715 last mouse movement event was not in it. Minibuffer window
6714 will be selected iff it is active. */ 6716 will be selected only when it is active. */
6715 if (WINDOWP (window) 6717 if (WINDOWP (window)
6716 && !EQ (window, last_window) 6718 && !EQ (window, last_window)
6717 && !EQ (window, selected_window)) 6719 && !EQ (window, selected_window))