mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-24 00:20:57 +00:00
(-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
This commit is contained in:
parent
b502b5346e
commit
5ce6055a5c
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-03-26 00:24 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/x11/XWindowBuffer.m (-dealloc): Free the shared memory
|
||||
pixmap (if one was allocated).
|
||||
|
||||
* Source/art/composite.m: When checking whether the overlap handling
|
||||
should be used, compare windows, not gstates.
|
||||
|
||||
2003-03-22 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
|
||||
|
||||
* Source/x11/XGServerWindow.m ([XGServer -orderwindow:::]):
|
||||
|
|
|
@ -511,6 +511,13 @@ static int warn = 0;
|
|||
|
||||
if (ximage)
|
||||
{
|
||||
if (pixmap)
|
||||
{
|
||||
XFreePixmap(display,pixmap);
|
||||
XSetWindowBackground(display,window->ident,None);
|
||||
pixmap=0;
|
||||
}
|
||||
|
||||
if (use_shm)
|
||||
{
|
||||
XShmDetach(display, &shminfo);
|
||||
|
|
Loading…
Reference in a new issue