H.3 Changes from Release 3 to Release 4

We will begin by describing the new functions, and then we will describe the small existing interface changes.

H.3.1 New Routines

Because of the adoption of the ICCCM (Inter-Client Communication Conventions Manual) as an X Consortium standard, several Xlib structures had to be changed, and therefore, several of the R3 routines are now superceded by new routines. All R3 routines are still supported, but the superseded routines should not be used in new applications because they do not meet the current conventions. Table H-1 lists the old and new routines.

Table H-1. Superseded R3 Routines and New R4 Routines

Superseded Routine

New Routine

Change

XSetStandardProperties

XSetWMProperties

Added WM_HINTS and WM_CLASS, format changes

XSetNormalHints

XSetWMNormalHints

New fields in XSizeHints

XGetNormalHints

XGetWMNormalHints

New fields in XSizeHints

XSetZoomHints

(No replacement)

No longer part of ICCCM

XGetZoomHints

(No replacement)

No longer part of ICCCM

XSetSizeHints

XSetWMSizeHints

New fields in XSizeHints

XGetSizeHints

XGetWMSizeHints

New fields in XSizeHints

XStoreName

XSetWMName

Property format change

XFetchName

XGetWMName

Property format change

(No R3 equivalent)

XGetCommand

Convenience routine for XGetWindowProperty

XSetIconName

XSetWMIconName

Property format change

XGetIconName

XGetWMIconName

Property format change

XGeometry

XWMGeometry

New fields and arguments

XGetStandardColormap

XGetRGBColormaps

New fields in XStandardColormap

XSetStandardColormap

XSetRGBColormaps

New fields in XStandardColormap ...

Get XLIB Programming Manual, Rel. 5, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.