1.6. Programming Considerations
The major programming considerations are:
Coordinates and sizes in X are actually 16-bit quantities.
This decision was made to minimize the bandwidth required for a
given level of performance.
Coordinates usually are declared as an
in the interface.
Values larger than 16 bits are truncated silently.
Sizes (width and height) are declared as unsigned quantities.
Keyboards are the greatest variable between different
If you want your program to be portable,
you should be particularly conservative here.
Many display systems have limited amounts of off-screen memory.
If you can, you should minimize use of pixmaps and backing
The user should have control of his screen real estate.
Therefore, you should write your applications to react to window management
rather than presume control of the entire screen.
What you do inside of your top-level window, however,
is up to your application.
For further information,
see "Inter-Client Communication Functions"
and the Inter-Client Communication Conventions Manual.
Christophe Tronche, email@example.com