24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• XKB-capable applications. These applications do not use XKB extended<br />

function and APIs directly. However, they are linked with a version of Xlib that<br />

includes XKB and indirectly benefit from some of XKB's features.<br />

• XKB-unaware applications. These applications do not make use of XKB<br />

extended function or APIs and require XKB's function to be mapped to core<br />

Xlib function to operate properly.<br />

8.2.11.5 Protocol Errors<br />

The XKB extension adds a single protocol error, BadKeyboard, to the core<br />

protocol errorset. Table 43 lists the protocol errors that can be generated and<br />

their causes.<br />

Table 43. XKB Protocol Errors<br />

Protocol error<br />

BadAccess<br />

BadKeyboard<br />

BadImplementation<br />

BadAlloc<br />

BadMatch<br />

BadValue<br />

BadAtom<br />

BadDevice<br />

Error cause<br />

The XKB extension has not been properly initialized.<br />

The device specified was not a valid core or input extension<br />

device.<br />

Incorrect reply from server.<br />

Unable to allocate storage.<br />

A compatible version of XKB was not available in the server or an<br />

argument has correct type and range but is otherwise in error.<br />

An argument is out of range.<br />

A name is neither a valid Atom nor None.<br />

Device, Feedback Class, or Feedback ID is in error.<br />

8.2.11.6 Extension Library Functions<br />

The X Keyboard Extension replaces the core protocol definition of a keyboard<br />

with a more comprehensive one. The X Keyboard Extension library interfaces are<br />

included in Xlib.<br />

Xlib detects the presence of the X Keyboard server extension and uses XKB<br />

protocol to replace some standard X library functions related to the keyboard. If<br />

an application uses only standard X library functions to examine the keyboard or<br />

process key events, it should not need to be modified when linked with an X<br />

library containing the X keyboard extension. All of the keyboard-related X library<br />

functions have been modified to automatically use XKB protocol when the server<br />

extension is present.<br />

The XKB extension adds library interfaces to allow a client application to directly<br />

manipulate the new capabilities.<br />

8.2.11.7 XKB Client Applications<br />

With XKB, there are several new core clients:<br />

• xkbcomp<br />

• xkbevd<br />

• kbevd<br />

• xkbprint<br />

Graphical Environment Enhancements 199

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!