Chapter 10: Events
A client application communicates with the X server through the connection you
establish with the
XOpenDisplay()
function.
A client application sends requests to the X server over this connection.
These requests are made by the Xlib functions that are
called in the client application.
Many Xlib functions cause the X server to generate events,
and the user's typing or moving the pointer can generate events asynchronously.
The X server returns events to the client on the same connection.
クライアント・アプリケーションは
XOpenDisplay()
関数で確立するコネクションを通してXサーバーと通信する。
クライアント・アプリケーションはこのコネクション上で X サーバーにリクエストを送る。
これらのリクエストはクライアント・アプリケーションに呼ばれる Xlib 関数によって作られる。
多くの Xlib 関数は X サーバーにイベントを発生させ、
さらにユーザーのタイピングやポインターの移動は、
非同期にイベントを発生させることができる。
X サーバーは同じコネクションでイベントをクライアントに返す。
This chapter discusses the following topics associated with events:
この章はイベントに関係がある以下の話題を説明する:
Functions for handling events are dealt with in the next chapter.
イベントを取り扱うための機能は次の章で扱われる。
Christophe Tronche, ch.tronche@computer.org