You select for StructureNotify on the root window.
X will then give you a ConfigureNotify event on the root window when the
size changes. You need to update your view of the size of the root window,
and concievably reposition any menus or dialogs that are mapped at that
time. That is sufficient for elementary support of RandR. This does not
require use of the Xrandr extension.
More sophisticated toolkit support requires choosing visuals that are "in the frame
buffer", if possible, so that you retain hardware acceleration when available. On the
iPAQ handheld, this is moot.
The other issue, which Keith and I haven't all worked out (yet), is to
rerender outline fonts with appropriate subpixel decimation for the screen
rotation. We'll work on that some next week, maybe. Xft should be able
to handle most of this on behalf of clients, and might require use of Xrandr
to get the right information.
- Jim
-- Jim Gettys Technology and Corporate Development Compaq Computer Corporation jg@pa.dec.comReceived on Thu Jun 14 06:40:14 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:26 EDT