Commit 0218dbe2 authored by Karoly Lorentey's avatar Karoly Lorentey
Browse files

Fix compilation error with non-toolkit scrollbar.

* src/xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-604
parent 2dadf3c8
......@@ -5308,7 +5308,7 @@ x_scroll_bar_expose (bar, event)
/* Restore the foreground color of the GC if we changed it above. */
if (f->output_data.x->scroll_bar_foreground_pixel != -1)
XSetForeground (FRAME_X_DISPLAY (f), gc,
f->output_data.x->foreground_pixel);
FRAME_FOREGROUND_PIXEL (f));
UNBLOCK_INPUT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment