* Headers/x11/XWindowBuffer.h: Make the pending_rect ivar a struct
of int:s.
* Source/x11/XWindowBuffer.m: Add casts to remove pointer sign
warnings.
(-_exposeRect:, -_gotShmCompletion): Update uses of pending_rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20537 72102866-910b-0410-8b05-ffd578937521
* Source/x11/XWindowBuffer.m (test_xshm): New function.
(test_xshm_error_handler): New function.
(+windowBufferForWindow:depthInfo:): Move XShm detection code
to test_xshm and use it to decide whether to use XShm or not.
(+initialize): Move use_xshm setting code to test_xshm.
(+_gotShmCompletion:): Don't warn if we can't find an XWindowBuffer
for the event.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20338 72102866-910b-0410-8b05-ffd578937521