* xterm.c (x_wm_hints): Variable deleted. This has to be
authorJim Blandy <jimb@redhat.com>
Wed, 19 Aug 1992 06:51:44 +0000 (06:51 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 19 Aug 1992 06:51:44 +0000 (06:51 +0000)
commit16bd92ea65af7b8db9e57009c7a46ffc004fbf7c
tree36477ca13f77eb7b3259b66114613c5288e7fe08
parenta2a4d43e4ca069ae0f2e4423b4c59d1462a13a62
* xterm.c (x_wm_hints): Variable deleted.  This has to be
per-screen.  Duh.
* xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap,
x_wm_set_icon_position): Use F->display.x->wm_hints, rather than
x_wm_hints.
(x_term_init): Don't initialize x_wm_hints here.
* xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs
and UNBLOCK_INPUTs.  And remember that VALUE is the strin we want
to set the name to, not PROPERTY.

* xterm.c (x_set_text_property): Define this appropriately for
X11R3 and X11R4.

* xterm.c (x_set_text_property): Make this take a Lisp_Object
string as an argument, rather than a pointer and a length.

* xterm.c: Doc fixes.

* xterm.c [USG5]: Don't include <sys/types.h>.

* xterm.c (x_make_frame_invisible): Instead of calling XWithdraw
window, which isn't widely available, write out what it does,
since that's not much.
(x_iconify_frame): Explicitly perform both the X11R3 and X11R4
methods for iconification; don't use XIconifyWindow, since that's
not present in R3.

* xterm.c (x_wm_set_size_hint): Don't bother setting the
base_width and base_height members; their function is performed
just as well by the min_width and min_height members, and if we
use XSetNormalHints instead of XSetWMNormalHints, we can be
compatible with R3.

* xterm.c (x_error_handler): There is no way to invoke the default
error handler which works on all versions of X11, so don't bother;
call XGetErrorText and print the message ourselves.

* xterm.c (x_term_init): Don't use MAXHOSTNAMELEN; this isn't
defined on all systems.  Since we only use that as an initial
guess anyway, it's not very important.

* xterm.c (x_set_text_property): New function.
src/xterm.c