FIXED: Wrong detection of changed device.  Performs read access to xpce Int
array one past end of local array (this is innocent).
FIXED: X11: possible curruption of window administration.