Commit graph

9 commits

Author SHA1 Message Date
Alexander Malmberg
455372bfec 2005-01-11 21:57 Alexander Malmberg <alexander@malmberg.org>
* 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
2005-01-11 21:00:14 +00:00
Alexander Malmberg
34d406f5d9 2004-11-10 18:41 Alexander Malmberg <alexander@malmberg.org>
* 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
2004-11-10 17:47:38 +00:00
Alexander Malmberg
2ebeb2d8b0 Add XWindowBufferUseXShm defaults variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16908 72102866-910b-0410-8b05-ffd578937521
2003-06-12 17:23:58 +00:00
Alexander Malmberg
6e7c341d1f Don't explicitly set the X window's background pixmap back to None.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16411 72102866-910b-0410-8b05-ffd578937521
2003-04-10 10:14:47 +00:00
Alexander Malmberg
5ce6055a5c (-dealloc): Free the shared memory pixmap (if one was allocated).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16267 72102866-910b-0410-8b05-ffd578937521
2003-03-25 23:26:35 +00:00
Alexander Malmberg
b3dc1b6f11 Round expose rectangle outwards.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15717 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:09:33 +00:00
Alexander Malmberg
bec53bc686 Improve error handling when creating shared memory buffers. Don't use shared memory for windows that are (probably) image caches. Don't crash in -needsAlpha if we don't have valid data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14536 72102866-910b-0410-8b05-ffd578937521
2002-09-24 11:22:59 +00:00
Alexander Malmberg
605ce8e712 If possible, create a shared pixmap from the image data and use it as the window's background pixmap.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14501 72102866-910b-0410-8b05-ffd578937521
2002-09-21 10:16:47 +00:00
Alexander Malmberg
496e7e4a6e Rename ARTWindowBuffer to XWindowBuffer and move it to x11/.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14426 72102866-910b-0410-8b05-ffd578937521
2002-09-10 19:37:47 +00:00
Renamed from Source/art/ARTWindowBuffer.m (Browse further)