Client
======

Client is normal X11 application already managed by XWEM. All XWEM Clients manages according to XWEM Manage Database(see Manage Database). Default behaviour is to enlarge each XWEM Client which have no override redirect flag ot XWEM Window used to hold that Client.

Client Basics
-------------

TODO: describe what is XWEM Client.

 -- Function: xwem-cl-p client
     Returns non-nil if CLIENT is Client.

Client Properties
-----------------

Each Client in XWEM have some properties associated with it.

 -- Function: xwem-client-name cl &optional clist
     Return unique name for Client CL using CLIST as list of Clients.

Current Client
--------------

Current Client is client in selected Window.

TODO: describe things related to special XEmacs frames.

 -- Function: xwem-cl-selected
     Return selected Client.

Clients Lists
-------------

TODO: describe client lists.

 -- Variable: xwem-clients
     List of all Clients.

Client Hooks
------------

TODO: genaral overview of hooks used in Client processing.

 -- Variable: xwem-cl-setup-hooks
     List of hooks which is called after XWEM Client is managed. Functions in that list should accept one argument - XWEM Client.

 -- Variable: xwem-cl-manage-hook
     Functions to call when Client managed.  They are passed with one argument - cl.

 -- Variable: xwem-cl-demanage-hook
     Functions to call when Cliend demanages.  Called with with one argument - cl.

Operating on Clients
--------------------

Here is some usefull functions you can use to operate on Clients.

 -- Function: xwem-find-client xwin-or-id
     Find Client by X window XWIN-OR-ID.

 -- Function: xwem-remove-client cl
     Remove CL from Clients list xwem-clients.

TODO: write me