mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +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
3e3f532cfe
commit
cc6c1c8b5b
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>
|
2003-03-22 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
|
||||||
|
|
||||||
* Source/x11/XGServerWindow.m ([XGServer -orderwindow:::]):
|
* Source/x11/XGServerWindow.m ([XGServer -orderwindow:::]):
|
||||||
|
|
|
@ -511,6 +511,13 @@ static int warn = 0;
|
||||||
|
|
||||||
if (ximage)
|
if (ximage)
|
||||||
{
|
{
|
||||||
|
if (pixmap)
|
||||||
|
{
|
||||||
|
XFreePixmap(display,pixmap);
|
||||||
|
XSetWindowBackground(display,window->ident,None);
|
||||||
|
pixmap=0;
|
||||||
|
}
|
||||||
|
|
||||||
if (use_shm)
|
if (use_shm)
|
||||||
{
|
{
|
||||||
XShmDetach(display, &shminfo);
|
XShmDetach(display, &shminfo);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue