* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 29 Oct 2013 05:55:25 +0000 (09:55 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 29 Oct 2013 05:55:25 +0000 (09:55 +0400)
commit0085b9be229be7369300f4f4ab27a9699db641b4
treec9f11e1b06eaa030b0a0ebacbaf38f5eef6c5d77
parentb9bef71fd33a3789b2a67a19745f6bbf8f4aff6e
* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
fields, drop 'allocated_p' member and use -1 for uninitialized value.
* w32term.h (struct w32_output): Similarly but do not use -1 because...
* xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op
on MS-Windows anyway.
(free_face_colors): Define only if HAVE_X_WINDOWS and...
(free_realized_face): ...adjust user.
* xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and
white relief pixels to -1.
* xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users.
* w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise.
* dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.
src/ChangeLog
src/dispextern.h
src/w32term.c
src/w32term.h
src/xfaces.c
src/xfns.c
src/xterm.c
src/xterm.h